From: Masahiro Yamada Date: Tue, 25 Jul 2017 02:23:35 +0000 (+0900) Subject: of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ffa2aed389c8f204e57ef361a78340a4bfcffc9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rob Herring --- 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__