uboot-imx6: install images into STAGING_DIR_IMAGE

Will be used by a new combined image for cubox

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 2018-08-26 13:47:23 +02:00
parent b605a84a74
commit eab7bcc8e1
1 changed files with 7 additions and 0 deletions

View File

@ -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))