Files
pmaports-rtwo/device/downstream/linux-lenovo-manning/use_system_dtc.patch
T

14 lines
526 B
Diff

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index b40e5154feb..c0932ed56b4 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -284,7 +284,7 @@ quiet_cmd_dtc = DTC $@
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
- $(srctree)/scripts/dtc/dtc_overlay -@ -O dtb -o $@ -b 0 \
+ dtc -@ -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)