diff options
author | Kumar Gala <kumar.gala@linaro.org> | 2016-06-18 08:44:38 -0500 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2016-06-30 14:36:39 +0000 |
commit | 7dcbbc39e74963da7cb43ccae85602edadd019b7 (patch) | |
tree | 08ab6a92e57634a6bfeffa23d8cc7dd02315774d /samples/ipm | |
parent | ff694e92b55ea492d2e04649fead741ac2039a32 (diff) |
build: move from srctree to ZEPHYR_BASE for app include paths
$srctree for the application might not be set to be $ZEPHYR_BASE, use
$ZEPHYR_BASE instead to be more explicit in the build.
Change-Id: Iefa5ff59f246b584949329044f7a6531adc6ed62
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'samples/ipm')
-rw-r--r-- | samples/ipm/ipm_demo_arc/src/Makefile | 4 | ||||
-rw-r--r-- | samples/ipm/ipm_demo_lmt/src/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/samples/ipm/ipm_demo_arc/src/Makefile b/samples/ipm/ipm_demo_arc/src/Makefile index cff7ce39b..9b39aff0d 100644 --- a/samples/ipm/ipm_demo_arc/src/Makefile +++ b/samples/ipm/ipm_demo_arc/src/Makefile @@ -1,5 +1,5 @@ ccflags-y += ${PROJECTINCLUDE} \ - -I$(srctree)/include/drivers \ - -I$(srctree)/drivers -I$(srctree)/arch/arc + -I$(ZEPHYR_BASE)/include/drivers \ + -I$(ZEPHYR_BASE)/drivers -I$(ZEPHYR_BASE)/arch/arc obj-y = hello.o diff --git a/samples/ipm/ipm_demo_lmt/src/Makefile b/samples/ipm/ipm_demo_lmt/src/Makefile index 211d8294e..d96be4573 100644 --- a/samples/ipm/ipm_demo_lmt/src/Makefile +++ b/samples/ipm/ipm_demo_lmt/src/Makefile @@ -1,5 +1,5 @@ ccflags-y += ${PROJECTINCLUDE} -ccflags-y +=-I$(srctree)/include/drivers -ccflags-y +=-I$(srctree)/drivers -I$(srctree)/arch/x86 +ccflags-y +=-I$(ZEPHYR_BASE)/include/drivers +ccflags-y +=-I$(ZEPHYR_BASE)/drivers -I$(ZEPHYR_BASE)/arch/x86 obj-y = hello.o |