Merge commit '54844802115a1666496649cc43d3a01abd707bc0' into subtree-test1
[osmocom-bb.git] / src / README.building
1 == How to build OsmocomBB? ==
2
3 === Prerequisites ===
4
5 We assume you are building on a GNU/Linux host system such as Debian GNU/Linux.
6 Windows builds have been reported successfully using the Cygwin environment, but
7 we do not officially support this.
8
9  # Get a GNU toolchain (gcc/binutils) for ARM (e.g. from http://gnuarm.com/)
10  # Set your path to include the arm-elf-* executables of your toolchain
11
12 === Building the actual GSM firmware ===
13
14  # cd osmocom-bb/src/target/firmware
15  # make
16
17 === Building the osmocon terminal program and multiplexer ===
18
19  # cd osmocom-bb/src/host/osmocon
20  # make
21
22 === Building the layer2 binary on the host PC ===
23
24  # cd osmocom-bb/src/host/layer2
25  # autoreconf -i
26  # ./configure
27  # make