|
@@ -326,8 +326,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
|
|
-d $(depfile).dtc.tmp $(dtc-tmp) || \
|
|
|
(echo "Check $(shell pwd)/$(pre-tmp) for errors" && false) \
|
|
|
; \
|
|
|
- cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) ; \
|
|
|
- sed -i "s:$(pre-tmp):$(<):" $(depfile)
|
|
|
+ sed "s:$(pre-tmp):$(<):" $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
|
|
|
|
|
|
$(obj)/%.dtb: $(src)/%.dts FORCE
|
|
|
$(call if_changed_dep,dtc)
|