summaryrefslogtreecommitdiff
path: root/tools/env/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-01 10:28:45 +0900
committerTom Rini <trini@ti.com>2013-11-08 09:39:14 -0500
commitbb02c5366052f8aa619961e98cd2ef74631ce8f6 (patch)
tree7a0f97f5a6daa0a59b5981c3f54792d66ae36f56 /tools/env/Makefile
parent7d9ec6a0aff88b6d7d3b36c04ff1ae490324ebf1 (diff)
downloadu-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.zip
u-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.tar.gz
u-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.tar.bz2
Makefile: do not create a symbolic link to arch/${ARCH}/include/asm
In-tree build: - Do not create a symbolic link from include/asm to arch/${ARCH}/include/asm - Add ${SRCTREE}/arch/arm/include into the header search path Out-of-tree build: - Do not create a directory ${OBJTREE}/include2 - Do not create a symbolic link from ${OBJTREE}/include2/asm to ${SRCTREE}/arch/${ARCH}/include/asm - Add ${SRCTREE}/arch/arm/include into the header search path Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'tools/env/Makefile')
-rw-r--r--tools/env/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/Makefile b/tools/env/Makefile
index 14d131b..27892f7 100644
--- a/tools/env/Makefile
+++ b/tools/env/Makefile
@@ -14,7 +14,7 @@ HEADERS := fw_env.h $(OBJTREE)/include/config.h
# Compile for a hosted environment on the target
HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \
- -idirafter $(OBJTREE)/include2 \
+ -idirafter $(SRCTREE)/arch/$(ARCH)/include \
-idirafter $(OBJTREE)/include \
-idirafter $(SRCTREE)/tools/env \
-DUSE_HOSTCC \