aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot/u-boot-mkimage_1.3.2.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-05-20 11:08:43 +0200
committerKoen Kooi <koen@openembedded.org>2010-05-20 12:01:06 +0200
commit039497007619829f936a63643b331d2b1d7429ad (patch)
tree83787b31c11768cb98467cc009c429767df22ab2 /recipes/u-boot/u-boot-mkimage_1.3.2.bb
parent236f580a535236169a813a792f7702c38b38a5b5 (diff)
downloadopenembedded-039497007619829f936a63643b331d2b1d7429ad.tar.gz
openembedded-039497007619829f936a63643b331d2b1d7429ad.tar.bz2
openembedded-039497007619829f936a63643b331d2b1d7429ad.zip
u-boot-mkimage: convert to new style staging and bbclassextend
Diffstat (limited to 'recipes/u-boot/u-boot-mkimage_1.3.2.bb')
-rw-r--r--recipes/u-boot/u-boot-mkimage_1.3.2.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-mkimage_1.3.2.bb b/recipes/u-boot/u-boot-mkimage_1.3.2.bb
new file mode 100644
index 0000000000..53240b35a1
--- /dev/null
+++ b/recipes/u-boot/u-boot-mkimage_1.3.2.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "U-boot bootloader mkimage tool"
+LICENSE = "GPLv2"
+SECTION = "bootloader"
+
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
+ file://fix-arm920t-eabi.patch;patch=1"
+
+PR = "r1"
+
+S = "${WORKDIR}/u-boot-${PV}"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
+
+do_compile () {
+ oe_runmake smdk2410_config
+ oe_runmake tools STRIP='/bin/true'
+}
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
+ ln -sf uboot-mkimage ${D}${bindir}/mkimage
+}
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
+
+SRC_URI[md5sum] = "78b1c2722d3907b5fae2cd219dbaf927"
+SRC_URI[sha256sum] = "8ab07cd758a1775642629e624f70e376fa8e84a2f879dee4544158d9c90cde2a"