image.mk: fix append-dtb race when multiple devices use the same .dts
Call Image/BuildDTB unconditionally to keep things consistent Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b948c9371b
commit
7bdc21de72
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ define Build/tplink-safeloader
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/append-dtb
|
define Build/append-dtb
|
||||||
$(if $(DEVICE_DTS_DIR),$(call Image/BuildDTB,$(DEVICE_DTS_DIR)/$(DEVICE_DTS).dts,$(DTS_DIR)/$(DEVICE_DTS).dtb))
|
$(call Image/BuildDTB,$(if $(DEVICE_DTS_DIR),$(DEVICE_DTS_DIR),$(DTS_DIR))/$(DEVICE_DTS).dts,$@.dtb)
|
||||||
cat $(DTS_DIR)/$(DEVICE_DTS).dtb >> $@
|
cat $@.dtb >> $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/fit
|
define Build/fit
|
||||||
|
|
Loading…
Reference in a new issue