diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-14 13:51:49 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-15 14:18:14 +0200 |
commit | 7bdc21de7241f779146be2dd7c77bb3a8067a672 (patch) | |
tree | 5fd7fa7e433d27f31152e21f878ee2cff19171a7 /include/image-commands.mk | |
parent | b948c9371b2bce7b5c3ca5812cc4b9d9a02b49b9 (diff) | |
download | mtk-20170518-7bdc21de7241f779146be2dd7c77bb3a8067a672.zip mtk-20170518-7bdc21de7241f779146be2dd7c77bb3a8067a672.tar.gz mtk-20170518-7bdc21de7241f779146be2dd7c77bb3a8067a672.tar.bz2 |
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>
Diffstat (limited to 'include/image-commands.mk')
-rw-r--r-- | include/image-commands.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index 17ab46d..1128aea 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -39,8 +39,8 @@ define Build/tplink-safeloader endef define Build/append-dtb - $(if $(DEVICE_DTS_DIR),$(call Image/BuildDTB,$(DEVICE_DTS_DIR)/$(DEVICE_DTS).dts,$(DTS_DIR)/$(DEVICE_DTS).dtb)) - cat $(DTS_DIR)/$(DEVICE_DTS).dtb >> $@ + $(call Image/BuildDTB,$(if $(DEVICE_DTS_DIR),$(DEVICE_DTS_DIR),$(DTS_DIR))/$(DEVICE_DTS).dts,$@.dtb) + cat $@.dtb >> $@ endef define Build/fit |