X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=src%2FMakefile;h=c8caff08399db9e40d5ad4c3afaad08dc561c386;hb=4a00ee10a3df75a216329080634191ba525d3c32;hp=8e245dd9a79ed5b73e4cb74bbaa3ac731e36875e;hpb=9dfbfe907213ce1042dcbc0b77bfbf804452ccf2;p=osmocom-bb.git diff --git a/src/Makefile b/src/Makefile index 8e245dd..c8caff0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,9 +8,11 @@ CROSS_TOOL_PREFIX=arm-elf- TOPDIR=$(shell pwd) OSMOCORE_CONFIGURE_ENV= LIBOSMOCORE_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/.libs/libosmocore.a \ - LIBOSMOCORE_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include + LIBOSMOVTY_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/vty/.libs/libosmovty.a \ + LIBOSMOCORE_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include \ + LIBOSMOVTY_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include -all: libosmocore-host libosmocore-target layer23 osmocon firmware +all: libosmocore-host libosmocore-target layer23 osmocon gsmmap firmware libosmocore-host: shared/libosmocore/build-host/src/.libs/libosmocore.la @@ -34,7 +36,8 @@ shared/libosmocore/build-target: shared/libosmocore/build-target/Makefile: shared/libosmocore/configure shared/libosmocore/build-target cd shared/libosmocore/build-target && ../configure \ - --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \ + --host=arm-elf-linux --disable-vty --enable-panic-infloop \ + --disable-shared --disable-talloc --disable-tests \ CC="$(CROSS_TOOL_PREFIX)gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include" shared/libosmocore/build-target/src/.libs/libosmocore.a: shared/libosmocore/build-target/Makefile @@ -54,6 +57,19 @@ host/osmocon/osmocon: host/osmocon/Makefile libosmocore-host make -C host/osmocon +.PHONY: gsmmap +gsmmap: host/gsmmap/gsmmap + +host/gsmmap/configure: host/gsmmap/configure.ac + cd host/gsmmap && autoreconf -i + +host/gsmmap/Makefile: host/gsmmap/configure + cd host/gsmmap && $(OSMOCORE_CONFIGURE_ENV) ./configure + +host/gsmmap/gsmmap: host/gsmmap/Makefile libosmocore-host + make -C host/gsmmap + + .PHONY: layer23 layer23: host/layer23/layer23