generic-poky/meta/packages/uboot/u-boot-mkimage_2009.08.bb
Joshua Lock f97e68456f u-boot-mkimage: Update 2009.08 recipe
Remove legacy staging function and enable native install

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-19 15:09:10 +00:00

27 lines
522 B
BlitzBasic

DESCRIPTION = "U-boot bootloader mkimage tool"
LICENSE = "GPL"
SECTION = "bootloader"
PR = "r1"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
S = "${WORKDIR}/u-boot-${PV}"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
BBCLASSEXTEND = "native nativesdk"
do_compile () {
oe_runmake smdk2410_config
oe_runmake tools
}
NATIVE_INSTALL_WORKS = "1"
do_install () {
install -d ${D}${bindir}
install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
ln -sf uboot-mkimage ${D}${bindir}/mkimage
}