mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 08:12:06 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
7d9ec6a0af
commit
bb02c53660
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user