From: Felix Fietkau Date: Sun, 26 Aug 2018 11:47:23 +0000 (+0200) Subject: uboot-imx6: install images into STAGING_DIR_IMAGE X-Git-Tag: v19.07.0-rc1~2661 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=eab7bcc8e1e321ecd43ec4af69207e7f53c53837;ds=sidebyside uboot-imx6: install images into STAGING_DIR_IMAGE Will be used by a new combined image for cubox Signed-off-by: Felix Fietkau --- 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))