Skip to content

Commit 5ffa2ae

Browse files
masahir0yrobherring
authored andcommitted
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 <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent b12869a commit 5ffa2ae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/Makefile.lib

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \
174174
ld_flags = $(LDFLAGS) $(ldflags-y)
175175

176176
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
177-
-I$(srctree)/arch/$(SRCARCH)/boot/dts \
178177
-I$(srctree)/scripts/dtc/include-prefixes \
179178
-undef -D__DTS__
180179

0 commit comments

Comments
 (0)