[openwrt/openwrt] arm-trusted-firmware-mvebu: install to own subdir

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


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/75e9d8e6e7dab768e0d3eafe601c96deb0499aec

commit 75e9d8e6e7dab768e0d3eafe601c96deb0499aec
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Thu Aug 20 07:53:41 2020 +0200

    arm-trusted-firmware-mvebu: install to own subdir
    
    Lift the dependency on the build order, where flash-image.bin may be missing
    from the u-boot dir.
    
    While at it, also install the uart images for rescue purposes.
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 package/boot/arm-trusted-firmware-mvebu/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile b/package/boot/arm-trusted-firmware-mvebu/Makefile
index 7f829f94c6..068fe507e9 100644
--- a/package/boot/arm-trusted-firmware-mvebu/Makefile
+++ b/package/boot/arm-trusted-firmware-mvebu/Makefile
@@ -107,7 +107,9 @@ MAKE_FLAGS = \
 	fip
 
 define Build/InstallDev
-	$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/flash-image.bin $(BIN_DIR)/u-boot-$(BOARDNAME)/
+	$(INSTALL_DIR) $(BIN_DIR)/flash-image-$(BOARDNAME)
+	$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/flash-image.bin $(BIN_DIR)/flash-image-$(BOARDNAME)/
+	$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/uart-images.tgz $(BIN_DIR)/flash-image-$(BOARDNAME)/
 endef
 
 $(eval $(call BuildPackage,arm-trusted-firmware-mvebu/uDPU))



More information about the lede-commits mailing list