at91dataflashboot: add a patch step
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
a4c1f06350
commit
470888bede
|
@ -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) -
|
$(BZCAT) $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||||
touch $(DATAFLASHBOOT_DIR)/.unpacked
|
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
|
ls $(DATAFLASHBOOT_DIR)/.unpacked
|
||||||
make -C $(DATAFLASHBOOT_DIR) CROSS_COMPILE=$(TARGET_CROSS)
|
make -C $(DATAFLASHBOOT_DIR) CROSS_COMPILE=$(TARGET_CROSS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue