[openwrt/openwrt] arm-trusted-firmware-mvebu: remove unpacked sources upon clean

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 25 04:58:59 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0c111ce237075c520684542f07f3cfe41f9c94a5

commit 0c111ce237075c520684542f07f3cfe41f9c94a5
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Tue Jun 8 04:19:16 2021 +0200

    arm-trusted-firmware-mvebu: remove unpacked sources upon clean
    
    These are all unpacked in the Build/Prepare step, clean up accordingly.
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 package/boot/arm-trusted-firmware-mvebu/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile b/package/boot/arm-trusted-firmware-mvebu/Makefile
index c4669edb52..6fc5e44e1c 100644
--- a/package/boot/arm-trusted-firmware-mvebu/Makefile
+++ b/package/boot/arm-trusted-firmware-mvebu/Makefile
@@ -155,6 +155,13 @@ define Download/gcc-linaro
   HASH:=2d4a92d6c8b384ae404b2e02c1c412e3ec18f9b714135acf046b2b1b510e9ace
 endef
 
+define Build/Clean
+	rm -rf \
+		$(STAGING_DIR_IMAGE)/$(A3700_UTILS_NAME) \
+		$(STAGING_DIR_IMAGE)/$(MV_DDR_NAME) \
+		$(STAGING_DIR_IMAGE)/$(LINARO_NAME)-$(LINARO_RELEASE).$(LINARO_VERSION)
+endef
+
 define Build/Prepare
 	# Download sources
 	$(eval $(call Download,a3700-utils))



More information about the lede-commits mailing list