[PATCH v2 03/12] ARM: Layerscape: images: add missing FORCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



if_changed should be used in conjunction with FORCE to make sure the
command is executed when the command line has changed.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 images/Makefile.layerscape | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/images/Makefile.layerscape b/images/Makefile.layerscape
index fb2dfe67d1..4e0c659d51 100644
--- a/images/Makefile.layerscape
+++ b/images/Makefile.layerscape
@@ -25,7 +25,7 @@ pblb-$(CONFIG_MACH_LS1028ARDB) += start_ls1028ardb
 
 $(obj)/barebox-ls1028ardb-sd.image: $(obj)/start_ls1028ardb.pblb \
 		$(board)/ls1028ardb/ls1028ardb_rcw_sd.cfg \
-		$(board)/ls1028ardb/ls1028ardb_pbi.cfg
+		$(board)/ls1028ardb/ls1028ardb_pbi.cfg FORCE
 	$(call if_changed,lspbl_image,ls1028a)
 
 image-$(CONFIG_MACH_LS1028ARDB) += barebox-ls1028ardb-sd.image
@@ -34,17 +34,17 @@ pblb-$(CONFIG_MACH_LS1046ARDB) += start_ls1046ardb
 
 $(obj)/barebox-ls1046ardb-sd.image: $(obj)/start_ls1046ardb.pblb \
 		$(board)/ls1046ardb/ls1046ardb_rcw_sd.cfg \
-		$(board)/ls1046ardb/ls1046ardb_pbi.cfg
+		$(board)/ls1046ardb/ls1046ardb_pbi.cfg FORCE
 	$(call if_changed,lspbl_image,ls1046a)
 
 $(obj)/barebox-ls1046ardb-emmc.image: $(obj)/start_ls1046ardb.pblb \
 		$(board)/ls1046ardb/ls1046ardb_rcw_emmc.cfg \
-		$(board)/ls1046ardb/ls1046ardb_pbi.cfg
+		$(board)/ls1046ardb/ls1046ardb_pbi.cfg FORCE
 	$(call if_changed,lspbl_image,ls1046a)
 
 $(obj)/barebox-ls1046ardb-qspi.image: $(obj)/start_ls1046ardb.pblb \
 		$(board)/ls1046ardb/ls1046ardb_rcw_qspi.cfg \
-		$(board)/ls1046ardb/ls1046ardb_pbi.cfg
+		$(board)/ls1046ardb/ls1046ardb_pbi.cfg FORCE
 	$(call if_changed,lspbl_spi_image,ls1046a)
 
 image-$(CONFIG_MACH_LS1046ARDB) += barebox-ls1046ardb-sd.image barebox-ls1046ardb-qspi.image \
@@ -54,12 +54,12 @@ pblb-$(CONFIG_MACH_TQMLS1046A) += start_tqmls1046a
 
 $(obj)/barebox-tqmls1046a-sd.image: $(obj)/start_tqmls1046a.pblb \
 		$(board)/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg \
-		$(board)/tqmls1046a/tqmls1046a_pbi.cfg
+		$(board)/tqmls1046a/tqmls1046a_pbi.cfg FORCE
 	$(call if_changed,lspbl_image,ls1046a)
 
 $(obj)/barebox-tqmls1046a-qspi.image: $(obj)/start_tqmls1046a.pblb \
 		$(board)/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg \
-		$(board)/tqmls1046a/tqmls1046a_pbi.cfg
+		$(board)/tqmls1046a/tqmls1046a_pbi.cfg FORCE
 	$(call if_changed,lspbl_spi_image,ls1046a)
 
 image-$(CONFIG_MACH_TQMLS1046A) += barebox-tqmls1046a-sd.image \
@@ -69,7 +69,7 @@ pblb-$(CONFIG_MACH_LS1021AIOT) += start_ls1021aiot
 
 $(obj)/barebox-ls1021aiot-qspi.image: $(obj)/start_ls1021aiot.pblb \
 		$(board)/ls1021aiot/ls102xa_rcw_sd_qspi.cfg \
-		$(board)/ls1021aiot/ls102xa_pbi.cfg
+		$(board)/ls1021aiot/ls102xa_pbi.cfg FORCE
 	$(call if_changed,lspbl_spi_image,ls1046a)
 
 image-$(CONFIG_MACH_LS1021AIOT) += barebox-ls1021aiot-qspi.image

-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux