소스 검색

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 <[email protected]>
Alexander Couzens 8 년 전
부모
커밋
e2caa74a2f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      package/boot/uboot-omap/Makefile

+ 5 - 0
package/boot/uboot-omap/Makefile

@@ -42,4 +42,9 @@ endef
 
 
 UBOOT_TARGETS:=omap4_panda am335x_evm omap3_overo omap3_beagle
 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))
 $(eval $(call BuildPackage/U-Boot))