If dtc is rebuilt, we should rebuild .dtb files with the new dtc.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -316,7 +316,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ · 315 unmodified lines | |||
| 316 | -d $(depfile).dtc.tmp $(dtc-tmp) ; \ | 316 | -d $(depfile).dtc.tmp $(dtc-tmp) ; \ |
| 317 | cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) | 317 | cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) |
| 318 | 318 | ||
| 319 | $(obj)/%.dtb: $(src)/%.dts FORCE | 319 | $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE |
| 320 | $(call if_changed_dep,dtc) | 320 | $(call if_changed_dep,dtc) |
| 321 | 321 | ||
| 322 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) | 322 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) |