summaryrefslogtreecommitdiffstats
path: root/src/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2013-01-02build: Use the system wide libosmocore for host applicationsSylvain Munaut1-31/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02build: Make use of the new --enable-embedded option on libosmocoreSylvain Munaut1-2/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-28layer23: Add mobile support for sending / receiving voice frame through MNCCAndreas.Eversberg1-1/+3
Support GSM FR codec only so far. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29Makefile: disable the check for sys/socket.h in the libosmocore target buildHarald Welte1-1/+3
2011-05-29src/Makefile: The configure.in was renamed configure.ac -> update MakefileSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-05target/boards: add infrastructure for loaders for Mediatek platformsWolfram Sang1-1/+7
We are just interested in the loaders here, no other applications needed. Split it from the compal-based phones. Add mt62xx as first user. Based on a patch by steve-m, but cleaned up and seperated from compal/calypso. Signed-off-by: Steve Markgraf <steve@steve-m.de> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-1/+3
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-04-23target: Hint configure we don't have a select.hHolger Hans Peter Freyther1-1/+1
People using a GNU/Linux toolchain can end up in trouble when gsmtap_util.c is including network header files. Hint autoconf that there is no sys/select.h
2011-03-12Allow top-level Makefile to use arm-none-eabi toolchainPeter Stuge1-4/+7
The gnuarm.com toolchain works fine but is very old. And although it is based on newlib, the tuple that we used to configure for was arm-elf-linux, which is bogus since we aren't building for Linux. This patch optimizes for the CodeSourcery G++ Lite 2010.09 ARM EABI toolchain instead, and for libosmocore installation it assumes that the new toolchain was unpacked next to the old one. Download it here: http://www.codesourcery.com/sgpp/lite/arm/portal/release1592 (The Linux Installer seems not to work reliably so I recommend the TAR.) Since CC is detected by configure when the host tuple points to a sane toolchain we shouldn't hard-code the gnuarm.com compiler. The patch autodetects arm-elf-gcc installed in PATH, and uses arm-elf as prefix if it is found. Otherwise, it defaults to arm-none-eabi. make CROSS_HOST=arm-xyzzy can be used to override on the command line. Author: Peter Stuge <peter@stuge.se> Acked-by: Sylvain Munaut <tnt@246tNt.com>
2011-01-18Makefile: be more robust against toolchains without syscallsMichael Grzeschik1-1/+1
Several toolchains are missing syscalls provided by the libc used. For example, if the newlib was build with the configure flag "--disable-newlib-supplied-syscalls". To prevent the configure check for things like "_exit" in osmocom the CFLAGS+="-nostartfiles -nodefaultlibs" helps a lot. Signed-off-by: Michael Grzeschik <mgr@xviews.de> Acked-by: Wolfram Sang <wolfram@the-dreams.de> Acked-by: Peter Stuge <peter@stuge.se>
2010-11-28build: Use absolute path in the CFLAGS for libosmocore target buildSylvain Munaut1-1/+1
There is now subdirectories to build ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-21Makefile: introduce 'make nofirmware' target to build host-only toolsHarald Welte1-1/+2
2010-11-17toplevel Makefile: accept arguments for host ./configure callsAlex Badea1-4/+4
Append $(HOST_CONFARGS) to ./configure scripts for 'host' applications. This allows e.g. cross-compiling on an x86 build system for an OpenMoko gta0x host, using an invocation such as: $ make HOST_CONFARGS="--host=arm-angstrom-linux-gnueabi" Signed-off-by: Alex Badea <vamposdecampos@gmail.com>
2010-10-24Introducing "gsmmap" to convert SYSTEM INFORMATION log into a KML mapAndreas.Eversberg1-1/+14
2010-07-27shared/libosmocore: Make sure to use the 'infinite loop' abort handlerSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-06-26[layer23] Removed cloned VTY and replaced it by libosmovty.Andreas.Eversberg1-1/+3
2010-06-25[build scripts] Make sure libosmocore for the target uses --disable-vtyHarald Welte1-1/+2
The vty code cannot be cross-compiled to the target yet, we need to disable building it.
2010-03-07start to use libosmocore within the firmwareHarald Welte1-2/+3
* remove linuxlist.h copy and use osmocore * don't put 'struct gsm_time' into l1ctl packets * include rx_level and snr for each burst in l1ctl * properly build libosmocore.a for target * move gsmtime functions into libosmocore * move ctype.h to standard location
2010-03-07build libosmocore for the target with "-Os -ffunction-sections"Harald Welte1-1/+2
2010-03-07Made cross-compile prefixes work normally.Ingo Albrecht1-2/+2
2010-03-07pass the correct cross compiler path name from master Makefile to firmwareHarald Welte1-1/+1
2010-03-03fix master Makefile with layer23 renameHarald Welte1-11/+11
2010-02-20add new master MakefileHarald Welte1-0/+85
using the Makefile in the 'src' directory, we nwo build everything