From: Thomas Petazzoni Date: Wed, 17 Mar 2010 08:15:26 +0000 (+0100) Subject: at91dataflashboot: add a patch step X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=470888bede7d604c870a6d47c6f41fa53a47a5d3;p=buildroot.git at91dataflashboot: add a patch step Signed-off-by: Thomas Petazzoni --- diff --git a/boot/at91dataflashboot/at91dataflashboot.mk b/boot/at91dataflashboot/at91dataflashboot.mk index dcbe1ef030..d11f842d81 100644 --- a/boot/at91dataflashboot/at91dataflashboot.mk +++ b/boot/at91dataflashboot/at91dataflashboot.mk @@ -18,7 +18,11 @@ $(DATAFLASHBOOT_DIR)/.unpacked: $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) $(BZCAT) $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) - touch $(DATAFLASHBOOT_DIR)/.unpacked -$(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY): $(DATAFLASHBOOT_DIR)/.unpacked +$(DATAFLASHBOOT_DIR)/.patched: $(DATAFLASHBOOT_DIR)/.unpacked + toolchain/patch-kernel.sh $(@D) boot/at91dataflashboot \ + at91dataflashboot-$(DATAFLASHBOOT_VERSION)-\*.patch + +$(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY): $(DATAFLASHBOOT_DIR)/.patched ls $(DATAFLASHBOOT_DIR)/.unpacked make -C $(DATAFLASHBOOT_DIR) CROSS_COMPILE=$(TARGET_CROSS)