aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorGravatar Masahiro Yamada <yamada.masahiro@socionext.com> 2017-07-25 11:23:35 +0900
committerGravatar Rob Herring <robh@kernel.org> 2017-08-21 12:20:12 -0500
commit5ffa2aed389c8f204e57ef361a78340a4bfcffc9 (patch)
treea4254bf95cd77a3cecd0b60b775af2c6b9e4e6a0 /scripts/Makefile.lib
parentof: remove drivers/of/testcase-data from include search path for CPP (diff)
downloadlinux-5ffa2aed389c8f204e57ef361a78340a4bfcffc9.tar.gz
linux-5ffa2aed389c8f204e57ef361a78340a4bfcffc9.tar.bz2
linux-5ffa2aed389c8f204e57ef361a78340a4bfcffc9.zip
of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP
Having arch/$(SRCARCH)/boot/dts as an include search path is not very useful these days because some architectures such as ARM64, MIPS have no DT in this directory. Instead, they have DT in vendor sub-directories. With some DT files in ARM and PowerPC fixed, we can now drop this include search path. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 011d464d2132..9c8f38ac2620 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -174,7 +174,6 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \
ld_flags = $(LDFLAGS) $(ldflags-y)
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
- -I$(srctree)/arch/$(SRCARCH)/boot/dts \
-I$(srctree)/scripts/dtc/include-prefixes \
-undef -D__DTS__