From: Alexander Couzens Date: Sat, 15 Apr 2017 16:49:57 +0000 (+0200) Subject: package/uboot-omap: install image to STAGING_DIR_IMAGE X-Git-Tag: v18.06.0-rc1~3080 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=e2caa74a2ffece85c302960f4994776427db4e38 package/uboot-omap: install image to STAGING_DIR_IMAGE to use them later by image/Makefile to create full working sdcard images Signed-off-by: Alexander Couzens --- diff --git a/package/boot/uboot-omap/Makefile b/package/boot/uboot-omap/Makefile index 876d9f0574..17a4af42f2 100644 --- a/package/boot/uboot-omap/Makefile +++ b/package/boot/uboot-omap/Makefile @@ -42,4 +42,9 @@ endef UBOOT_TARGETS:=omap4_panda am335x_evm omap3_overo omap3_beagle +define Build/InstallDev + $(INSTALL_DIR) $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES) + $(CP) $(patsubst %,$(PKG_BUILD_DIR)/%,$(UBOOT_IMAGE)) $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)/ +endef + $(eval $(call BuildPackage/U-Boot))