summaryrefslogtreecommitdiffstats
path: root/src/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07Merge 'fixeria/trx' into masterHarald Welte1-1/+16
Change-Id: I5586fd8c9eb281285f4a59e63cb17dbc3641e1c1
2018-02-06Import gprsdecode utility from SRLabsLuca Melette1-1/+14
This change introduces a modified version of gprsdecode utility, which is intended to decode the GPRS burst captures and forward decoded packets to the GSMTAP sink. The following modifications were made: - use shared libosmocoding library for GSM 05.03 coding; - use optget for command line options parsing; - use a single application select loop; - use GNU automake as the build system; - add regression tests (GNU autotest); - clean up and comment the code; - add license headers; The code is based on work of SRLabs: https://srlabs.de/ git://git.srlabs.de/gprsdecode.git Related: OS#1672 Change-Id: I12234d37c66b83b8abd60f7511fa1d7837db1856
2018-01-22cosmetic: fix Makefile whitespaceMax1-1/+1
Change-Id: Ia55d54d7ec7ec04e122d2e5250037c2d166abeb5
2017-11-19host/trxcon: introduce a new 'trxcon' applicationVadim Yanitskiy1-2/+16
This app is similar to the osmocon, but designed to connect L2 & L3 apps with SDR transceiver insted of obsolete Calypso based hardware. Change-Id: Ie3c17f19aad9c26f3c49966a7c96b65911f62369
2017-07-12VIRT-PHY: Cleanup dirs, makefile, dependencies and formatting code.Sebastian Stumpf1-2/+4
Change-Id: Ibd68a03bcc439c262ba513782936c6b62937eaaa
2017-07-12VIRT-PHY: Initial commit of virt-phy to work with osmo-bts virt-phy.Sebastian Stumpf1-1/+13
This patch implements a virtual physical layer replacing the air interface. The purpose is to get rid of the hardware requirements and be able to start testing and implementing layer 2 communication functionality on one machine. Multicast sockets are used to enable bidirectional communication between the BTS and the MS process. The GSMTAP protocol designed for wireshark capturing is used to encapsulate the payload on the virtual physical layer. The virtual physical layer on the osmocom-bb side implements the L1CTL interface to the layer23 apps like mobile. * Working mcast socket communication and extraction of its functionality. * Basic handlers for file descriptor callbacks from incoming L1CTL messages and extraction of that functionality to a l1ctl socket class. * Multiplexing to different routines depending on incoming L1CTL message type. * Uses virt_um and osmocom_mcast_sock implementation from osmo-bts virt-phy. * Ecapsulation and parsing methods to and from GSMTAP messages. * Basic handlers for file descriptor callbacks from incoming mcast messages on the virtual um. * Multiplexing to different channel routines based on GSMTAP header channel type. * Example configuration for l23 app mobile using virtual test sim. Change-Id: I203c8ec58326e52a09603a37232fce7ae3641415
2017-05-25Makefile: add forgotten gsmmap to (dist)clean sectionVadim Yanitskiy1-0/+2
Change-Id: I14abe8a061d218ca81dd2d101b218d3030324aa2
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