From bb02c5366052f8aa619961e98cd2ef74631ce8f6 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 1 Nov 2013 10:28:45 +0900 Subject: 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 --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 91a8f2406b..344138759c 100644 --- a/config.mk +++ b/config.mk @@ -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) -- cgit v1.2.3