diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-11-24 10:05:49 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-11-28 14:28:42 +0100 |
commit | 733c894c18c127ce5c023e39609b7d2b9e748e7e (patch) | |
tree | 54a88354963d52f924e38a244b32cedd58dcaf2f /src/Makefile | |
parent | f152eda1d3f15cfdfef7829265d972e7caf09315 (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/Makefile | 2 |
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 |