summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorSylvain Munaut2010-11-24 10:05:49 +0100
committerSylvain Munaut2010-11-28 14:28:42 +0100
commit733c894c18c127ce5c023e39609b7d2b9e748e7e (patch)
tree54a88354963d52f924e38a244b32cedd58dcaf2f /src/Makefile
parentwireshark: update SMSCB dissector patch (diff)
downloadosmocom-733c894c18c127ce5c023e39609b7d2b9e748e7e.tar.gz
osmocom-733c894c18c127ce5c023e39609b7d2b9e748e7e.tar.xz
osmocom-733c894c18c127ce5c023e39609b7d2b9e748e7e.zip
build: Use absolute path in the CFLAGS for libosmocore target build
There is now subdirectories to build ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index b225d17..a0dea5d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -39,7 +39,7 @@ shared/libosmocore/build-target/Makefile: shared/libosmocore/configure shared/li
cd shared/libosmocore/build-target && ../configure \
--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"
+ CC="$(CROSS_TOOL_PREFIX)gcc" CFLAGS="-Os -ffunction-sections -I$(TOPDIR)/target/firmware/include"
shared/libosmocore/build-target/src/.libs/libosmocore.a: shared/libosmocore/build-target/Makefile
cd shared/libosmocore/build-target && make