[openwrt/openwrt] arm-trusted-firmware-mediatek: don't try to install absent files

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 4 21:58:55 GMT 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f3f630145aeca0c366ec54a9f5b1f4956374ad1e

commit f3f630145aeca0c366ec54a9f5b1f4956374ad1e
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Mar 4 21:56:56 2021 +0000

    arm-trusted-firmware-mediatek: don't try to install absent files
    
    Don't try to install files which no longer exist
    Since {e,sd}mmc are now produced by ptgen they have been removed.
    
    Fixes: 5a3562cd1d ("arm-trusted-firmware-mediatek: remove {e,sd}mmc headers")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/boot/arm-trusted-firmware-mediatek/Makefile | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile
index b775a744c8..fed9c095b9 100644
--- a/package/boot/arm-trusted-firmware-mediatek/Makefile
+++ b/package/boot/arm-trusted-firmware-mediatek/Makefile
@@ -130,12 +130,6 @@ define Package/trusted-firmware-a/install
 	$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/build/mt7622/release/bl2.img $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-bl2.img
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/build/mt7622/release/bl31.bin $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-bl31.bin
-ifeq ($(BOOT_DEVICE),emmc)
-	$(INSTALL_DATA) $(DL_DIR)/mt7622-header_emmc.bin $(STAGING_DIR_IMAGE)/
-endif
-ifeq ($(BOOT_DEVICE),sdmmc)
-	$(INSTALL_DATA) $(DL_DIR)/mt7622-header_sdmmc.bin $(STAGING_DIR_IMAGE)/
-endif
 endef
 
 $(eval $(call BuildPackage/Trusted-Firmware-A))



More information about the lede-commits mailing list