summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-01-13 11:09:32 +0000
committerJoshua Lock <josh@linux.intel.com>2010-01-19 15:09:10 +0000
commitf97e68456f64198d3c0504788a331225405e77fd (patch)
tree89379f3555a36f0ee78f7c670caf22bea736c690 /meta/packages/uboot
parentb731a08ebf6994405770519bb03baf479456bb34 (diff)
downloadpoky-f97e68456f64198d3c0504788a331225405e77fd.tar.gz
u-boot-mkimage: Update 2009.08 recipe
Remove legacy staging function and enable native install Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/uboot')
-rw-r--r--meta/packages/uboot/u-boot-mkimage_2009.08.bb29
1 files changed, 8 insertions, 21 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage_2009.08.bb b/meta/packages/uboot/u-boot-mkimage_2009.08.bb
index 32391385b3..6e6ce1fca1 100644
--- a/meta/packages/uboot/u-boot-mkimage_2009.08.bb
+++ b/meta/packages/uboot/u-boot-mkimage_2009.08.bb
@@ -2,38 +2,25 @@ DESCRIPTION = "U-boot bootloader mkimage tool"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "bootloader" 3SECTION = "bootloader"
4 4
5PR = "r0" 5PR = "r1"
6 6
7SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2" 7SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
8 8
9S = "${WORKDIR}/u-boot-${PV}" 9S = "${WORKDIR}/u-boot-${PV}"
10 10
11EXTRA_OEMAKE = "${@['CROSS_COMPILE=${TARGET_PREFIX}',''][bb.data.getVar('TARGET_PREFIX', d, 1) == '']}" 11EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
14 14
15do_compile () { 15do_compile () {
16 oe_runmake smdk2410_config 16 oe_runmake smdk2410_config
17 oe_runmake tools 17 oe_runmake tools
18} 18}
19 19
20NATIVE_INSTALL_WORKS = "1"
20do_install () { 21do_install () {
21 install -d ${D}${bindir} 22 install -d ${D}${bindir}
22 install -m 0755 tools/mkimage ${D}${bindir}/ 23 install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
24 ln -sf uboot-mkimage ${D}${bindir}/mkimage
23} 25}
24 26
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}