From: Felix Fietkau Date: Sun, 26 Aug 2018 11:47:23 +0000 (+0200) Subject: uboot-imx6: install images into STAGING_DIR_IMAGE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eab7bcc8e1e321ecd43ec4af69207e7f53c53837;p=openwrt%2Fstaging%2Fadrian.git 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))