diff options
author | Jon Medhurst <tixy@linaro.org> | 2012-01-17 09:50:53 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2012-01-17 09:50:53 +0000 |
commit | 4a47817088fed0a21e9141561832f194ea7813af (patch) | |
tree | df2aefb60d3b09af75ad6ddd5d13b37a40a93726 | |
parent | 3df369c0e56f815b36eeadefcf1404780ce208e3 (diff) |
tasks/bootloader.mk: Force bootloaders to always be remade
Bootloaders have their own separate makefiles and we don't track the
dependencies these, therefore we need to remake them every time in case
files need updating. To facilitate this, bootloader rules will depend on
the phony target FORCE_BOOTLOADER_REMAKE.
Change-Id: Ia8ad6acb70e662b4d3ba8e936cc030e2f56fe0f5
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | tasks/bootloader.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tasks/bootloader.mk b/tasks/bootloader.mk index 8febbe0..0b39937 100644 --- a/tasks/bootloader.mk +++ b/tasks/bootloader.mk @@ -2,6 +2,12 @@ BOOTLOADER_TARGETS := +# Bootloaders have their own separate makefiles and we don't track the +# dependencies these, therefore we need to remake them every time in case +# files need updating. To facilitate this, bootloader rules will depend on +# this phony target... +.PHONY : FORCE_BOOTLOADER_REMAKE + # # Generate a rule to build U-Boot. # @@ -13,7 +19,7 @@ BOOTLOADER_TARGETS := # define MAKE_UBOOT -$(1): $$(ACP) +$(1): $$(ACP) FORCE_BOOTLOADER_REMAKE $$(eval _obj := $$(PRODUCT_OUT)/obj/u-boot.$(2)) @mkdir -p $$(_obj) cd $$(TOP)/u-boot && \ |