diff options
author | Esben Haabendal <eha@fire.(none)> | 2009-12-15 15:07:31 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-01-19 15:08:45 +0000 |
commit | bd375075bdbd4d4e3f4b98e141595bea584cd42a (patch) | |
tree | c4ccdfbbaa478b9ecf3db89bacbfeeb3284a939a /meta | |
parent | 3d3053e6cca7a066a3841a6b0d7222b276895ccf (diff) | |
download | openembedded-core-bd375075bdbd4d4e3f4b98e141595bea584cd42a.tar.gz openembedded-core-bd375075bdbd4d4e3f4b98e141595bea584cd42a.tar.bz2 openembedded-core-bd375075bdbd4d4e3f4b98e141595bea584cd42a.zip |
u-boot-mkimage-2009.08 (and BBCLASSEXTEND native nativesdk)
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/uboot/u-boot-mkimage_2009.08.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage_2009.08.bb b/meta/packages/uboot/u-boot-mkimage_2009.08.bb new file mode 100644 index 0000000000..32391385b3 --- /dev/null +++ b/meta/packages/uboot/u-boot-mkimage_2009.08.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "U-boot bootloader mkimage tool" +LICENSE = "GPL" +SECTION = "bootloader" + +PR = "r0" + +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}',''][bb.data.getVar('TARGET_PREFIX', d, 1) == '']}" + +BBCLASSEXTEND = "native nativesdk" + +do_compile () { + oe_runmake smdk2410_config + oe_runmake tools +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 tools/mkimage ${D}${bindir}/ +} + +do_stage_uboot () { + install -d ${STAGING_BINDIR} + install -m 0755 tools/mkimage ${STAGING_BINDIR}/uboot-mkimage + ln -sf uboot-mkimage ${STAGING_BINDIR}/mkimage +} + +do_stage () { + do_stage_uboot +} + +# do_stage is override is overridden by native.bbclass +# so we have to specifically override it for virtclass-native also... +do_stage_virtclass-native () { + do_stage_uboot +} |