aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorTom Rini2019-02-28 14:22:03 -0500
committerTom Rini2019-02-28 14:22:03 -0500
commit7869e647a60ae706457bb601a3c2ea51e9fdd413 (patch)
tree2e77dd316e2c5899f780ac6cf037117420d7febd /scripts/Makefile.lib
parent783e66816d101f970b185083377846059d4d577d (diff)
parent438dcabb75d6b9b0e7f887befb753d1863f14deb (diff)
Merge branch '2019-02-29-master-imports'
- Assorted BSP fixes - Kbuild fix
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 704d644f6fa..ec5c41ec561 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -301,7 +301,8 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
$(DTC) -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
- cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
+ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) ; \
+ sed -i "s:$(pre-tmp):$(<):" $(depfile)
$(obj)/%.dtb: $(src)/%.dts FORCE
$(call if_changed_dep,dtc)