Fixed broken gsmmap.
[osmocom-bb.git] / src / Makefile
index d6f556f..de1435d 100644 (file)
@@ -13,9 +13,11 @@ TOPDIR=$(shell pwd)
 OSMOCORE_CONFIGURE_ENV= LIBOSMOCORE_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/.libs/libosmocore.a \
                         LIBOSMOVTY_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/vty/.libs/libosmovty.a \
                        LIBOSMOGSM_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/gsm/.libs/libosmogsm.a \
+                       LIBOSMOCODEC_LIBS=$(TOPDIR)/shared/libosmocore/build-host/src/codec/.libs/libosmocodec.a \
                        LIBOSMOCORE_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include \
                        LIBOSMOVTY_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include \
-                       LIBOSMOGSM_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include
+                       LIBOSMOGSM_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include \
+                       LIBOSMOCODEC_CFLAGS=-I$(TOPDIR)/shared/libosmocore/include
 
 all: libosmocore-target nofirmware firmware mtk-firmware
 nofirmware: libosmocore-host layer23 osmocon gsmmap
@@ -25,7 +27,7 @@ libosmocore-host: shared/libosmocore/build-host/src/.libs/libosmocore.la
 shared/libosmocore/build-host:
        mkdir $@
 
-shared/libosmocore/configure: shared/libosmocore/configure.in
+shared/libosmocore/configure: shared/libosmocore/configure.ac
        cd shared/libosmocore && autoreconf -i
 
 shared/libosmocore/build-host/Makefile: shared/libosmocore/configure shared/libosmocore/build-host
@@ -43,7 +45,9 @@ shared/libosmocore/build-target:
 shared/libosmocore/build-target/Makefile: shared/libosmocore/configure shared/libosmocore/build-target
        cd shared/libosmocore/build-target && ../configure \
                        --host=$(CROSS_HOST) --disable-vty --enable-panic-infloop \
-                       --disable-shared --disable-talloc --disable-tests ac_cv_header_sys_select_h=no \
+                       --disable-shared --disable-talloc \
+                       --disable-tests ac_cv_header_sys_select_h=no \
+                       --disable-tests ac_cv_header_sys_socket_h=no \
                CFLAGS="-Os -ffunction-sections -I$(TOPDIR)/target/firmware/include -nostartfiles -nodefaultlibs"
 
 shared/libosmocore/build-target/src/.libs/libosmocore.a: shared/libosmocore/build-target/Makefile