of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 25 Jul 2017 02:23:35 +0000 (11:23 +0900)
committerRob Herring <robh@kernel.org>
Mon, 21 Aug 2017 17:20:12 +0000 (12:20 -0500)
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>
scripts/Makefile.lib

index 011d464d2132b3027d9c92bc1bb4d2578407ae89..9c8f38ac2620599712f9a4c5bb1d4f98911fad2f 100644 (file)
@@ -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__