diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-01 10:28:45 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 09:39:14 -0500 |
commit | bb02c5366052f8aa619961e98cd2ef74631ce8f6 (patch) | |
tree | 7a0f97f5a6daa0a59b5981c3f54792d66ae36f56 /config.mk | |
parent | 7d9ec6a0aff88b6d7d3b36c04ff1ae490324ebf1 (diff) | |
download | u-boot-bb02c5366052f8aa619961e98cd2ef74631ce8f6.tar.gz |
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 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -257,10 +257,10 @@ endif endif ifneq ($(OBJTREE),$(SRCTREE)) -CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include +CPPFLAGS += -I$(OBJTREE)/include endif -CPPFLAGS += -I$(TOPDIR)/include +CPPFLAGS += -I$(TOPDIR)/include -I$(SRCTREE)/arch/$(ARCH)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) |