History

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.

Masahiro Yamada committed 9 years ago

Commit 5ffa2ae1 parent b12869a1 file · +0 −1Browse files

Unified · Split

scripts/Makefile.lib+0−1
@@ -174,7 +174,6 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ · 173 unmodified lines
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