From d2f6fcd1b4e0cffd621f2ceec347536e4322e8a4 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 14 Jun 2010 22:59:14 +0200 Subject: [PATCH] at91dataflashboot: fix patch target Touch destination file so the patch target isn't rerun for every invocation. Signed-off-by: Peter Korsgaard --- boot/at91dataflashboot/at91dataflashboot.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot/at91dataflashboot/at91dataflashboot.mk b/boot/at91dataflashboot/at91dataflashboot.mk index d11f842d81..32591f79f3 100644 --- a/boot/at91dataflashboot/at91dataflashboot.mk +++ b/boot/at91dataflashboot/at91dataflashboot.mk @@ -16,11 +16,12 @@ $(DL_DIR)/$(DATAFLASHBOOT_SOURCE): $(DATAFLASHBOOT_DIR)/.unpacked: $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) mkdir -p $(@D) $(BZCAT) $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) - - touch $(DATAFLASHBOOT_DIR)/.unpacked + touch $@ $(DATAFLASHBOOT_DIR)/.patched: $(DATAFLASHBOOT_DIR)/.unpacked toolchain/patch-kernel.sh $(@D) boot/at91dataflashboot \ at91dataflashboot-$(DATAFLASHBOOT_VERSION)-\*.patch + touch $@ $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY): $(DATAFLASHBOOT_DIR)/.patched ls $(DATAFLASHBOOT_DIR)/.unpacked -- 2.30.2