[build scripts] Make sure libosmocore for the target uses --disable-vty
authorHarald Welte <laforge@gnumonks.org>
Fri, 25 Jun 2010 01:01:57 +0000 (03:01 +0200)
committerHarald Welte <laforge@gnumonks.org>
Fri, 25 Jun 2010 01:01:57 +0000 (03:01 +0200)
The vty code cannot be cross-compiled to the target yet, we need to
disable building it.

src/Makefile

index 8e245dd..e9cdb6c 100644 (file)
@@ -34,7 +34,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 \
+                       --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