فهرست منبع

uboot-mkimage: new package

The mkimage for the host is now built by a package, so that
boot/u-boot/u-boot.mk is no longer responsible for doing this. It
makes things a lot easier to handle, as linux/linux.mk now simply
depends on host-uboot-mkimage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni 14 سال پیش
والد
کامیت
5e0d46138f
2فایلهای تغییر یافته به همراه16 افزوده شده و 0 حذف شده
  1. 0 0
      package/uboot-mkimage/uboot-mkimage-2011.03-drop-configh.patch
  2. 16 0
      package/uboot-mkimage/uboot-mkimage.mk

+ 0 - 0
boot/u-boot/u-boot-2011.03-drop-configh.patch → package/uboot-mkimage/uboot-mkimage-2011.03-drop-configh.patch


+ 16 - 0
package/uboot-mkimage/uboot-mkimage.mk

@@ -0,0 +1,16 @@
+UBOOT_MKIMAGE_VERSION = 2011.03
+UBOOT_MKIMAGE_SOURCE  = u-boot-$(UBOOT_MKIMAGE_VERSION).tar.bz2
+UBOOT_MKIMAGE_SITE    = ftp://ftp.denx.de/pub/u-boot
+
+define HOST_UBOOT_MKIMAGE_BUILD_CMDS
+	$(MAKE) -C $(@D) 			\
+		CROSS_COMPILE="$(TARGET_CROSS)" \
+		ARCH=$(U_BOOT_ARCH) 		\
+		tools
+endef
+
+define HOST_UBOOT_MKIMAGE_INSTALL_CMDS
+	install -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin
+endef
+
+$(eval $(call GENTARGETS,package,uboot-mkimage,host))