[openwrt/openwrt] arm-trusted-firmware-mvebu: reuse default prepare target

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 18 16:41:55 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/847b5927c62c7d73f966001ebcc80fb37ce0d141

commit 847b5927c62c7d73f966001ebcc80fb37ce0d141
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Wed Aug 19 20:30:25 2020 +0200

    arm-trusted-firmware-mvebu: reuse default prepare target
    
    Don't wipe internal state files, fixes e.g. refreshing patches.
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 package/boot/arm-trusted-firmware-mvebu/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile b/package/boot/arm-trusted-firmware-mvebu/Makefile
index 239c6dd33c..73daee1bba 100644
--- a/package/boot/arm-trusted-firmware-mvebu/Makefile
+++ b/package/boot/arm-trusted-firmware-mvebu/Makefile
@@ -81,8 +81,7 @@ define Build/Prepare
 	$(eval $(call Download,mv-ddr-marvell))
 	$(eval $(call Download,gcc-linaro))
 
-	rm -rf $(PKG_BUILD_DIR)
-	$(TAR) -C $(BUILD_DIR) -xf $(DL_DIR)/$(PKG_SOURCE)
+	$(call Build/Prepare/Default,)
 
 	mkdir -p $(STAGING_DIR_IMAGE)
 	$(TAR) -C $(STAGING_DIR_IMAGE) -xf $(DL_DIR)/$(A3700_UTILS_SOURCE)



More information about the lede-commits mailing list