summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot
diff options
context:
space:
mode:
authorEsben Haabendal <eha@fire.(none)>2009-12-15 15:07:31 +0100
committerJoshua Lock <josh@linux.intel.com>2010-01-19 15:08:45 +0000
commitbd375075bdbd4d4e3f4b98e141595bea584cd42a (patch)
treec4ccdfbbaa478b9ecf3db89bacbfeeb3284a939a /meta/packages/uboot
parent3d3053e6cca7a066a3841a6b0d7222b276895ccf (diff)
downloadpoky-bd375075bdbd4d4e3f4b98e141595bea584cd42a.tar.gz
u-boot-mkimage-2009.08 (and BBCLASSEXTEND native nativesdk)
Diffstat (limited to 'meta/packages/uboot')
-rw-r--r--meta/packages/uboot/u-boot-mkimage_2009.08.bb39
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 @@
1DESCRIPTION = "U-boot bootloader mkimage tool"
2LICENSE = "GPL"
3SECTION = "bootloader"
4
5PR = "r0"
6
7SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
8
9S = "${WORKDIR}/u-boot-${PV}"
10
11EXTRA_OEMAKE = "${@['CROSS_COMPILE=${TARGET_PREFIX}',''][bb.data.getVar('TARGET_PREFIX', d, 1) == '']}"
12
13BBCLASSEXTEND = "native nativesdk"
14
15do_compile () {
16 oe_runmake smdk2410_config
17 oe_runmake tools
18}
19
20do_install () {
21 install -d ${D}${bindir}
22 install -m 0755 tools/mkimage ${D}${bindir}/
23}
24
25do_stage_uboot () {
26 install -d ${STAGING_BINDIR}
27 install -m 0755 tools/mkimage ${STAGING_BINDIR}/uboot-mkimage
28 ln -sf uboot-mkimage ${STAGING_BINDIR}/mkimage
29}
30
31do_stage () {
32 do_stage_uboot
33}
34
35# do_stage is override is overridden by native.bbclass
36# so we have to specifically override it for virtclass-native also...
37do_stage_virtclass-native () {
38 do_stage_uboot
39}