aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 58c05e5d9870..dcc0d5fdf5a2 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -173,10 +173,10 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \
173 173
174ld_flags = $(LDFLAGS) $(ldflags-y) 174ld_flags = $(LDFLAGS) $(ldflags-y)
175 175
176DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes
177
176dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ 178dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
177 -I$(srctree)/arch/$(SRCARCH)/boot/dts \ 179 $(addprefix -I,$(DTC_INCLUDE)) \
178 -I$(srctree)/scripts/dtc/include-prefixes \
179 -I$(srctree)/drivers/of/testcase-data \
180 -undef -D__DTS__ 180 -undef -D__DTS__
181 181
182# Finds the multi-part object the current object will be linked into 182# Finds the multi-part object the current object will be linked into
@@ -317,7 +317,7 @@ quiet_cmd_dtc = DTC $@
317cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ 317cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
318 $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 318 $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
319 $(DTC) -O dtb -o $@ -b 0 \ 319 $(DTC) -O dtb -o $@ -b 0 \
320 -i $(dir $<) $(DTC_FLAGS) \ 320 $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
321 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 321 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
322 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 322 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
323 323