From 5b1225f086a95de0c6e2125538a7a9ff7ad4e125 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 26 Aug 2018 13:47:23 +0200 Subject: [PATCH] uboot-imx6: install images into STAGING_DIR_IMAGE Will be used by a new combined image for cubox Signed-off-by: Felix Fietkau (backported from eab7bcc8e1e321ecd43ec4af69207e7f53c53837) --- package/boot/uboot-imx6/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/boot/uboot-imx6/Makefile b/package/boot/uboot-imx6/Makefile index dd3a996736..6973cda5ae 100644 --- a/package/boot/uboot-imx6/Makefile +++ b/package/boot/uboot-imx6/Makefile @@ -72,4 +72,11 @@ UBOOT_TARGETS := \ UBOOT_MAKE_FLAGS += u-boot.imx +define Build/InstallDev + $(INSTALL_DIR) $(STAGING_DIR_IMAGE) + $(foreach img,$(UBOOT_IMAGE), \ + $(CP) $(PKG_BUILD_DIR)/$(img) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(img); \ + ) +endef + $(eval $(call BuildPackage/U-Boot)) -- 2.30.2