summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-11-24 10:05:49 +0100
committerSylvain Munaut <tnt@246tNt.com>2010-11-28 14:28:42 +0100
commit733c894c18c127ce5c023e39609b7d2b9e748e7e (patch)
tree54a88354963d52f924e38a244b32cedd58dcaf2f /src/Makefile
parentf152eda1d3f15cfdfef7829265d972e7caf09315 (diff)
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 b225d172..a0dea5db 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