summaryrefslogtreecommitdiff
path: root/meta
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
parentb731a08ebf6994405770519bb03baf479456bb34 (diff)
downloadopenembedded-core-f97e68456f64198d3c0504788a331225405e77fd.tar.gz
openembedded-core-f97e68456f64198d3c0504788a331225405e77fd.tar.bz2
openembedded-core-f97e68456f64198d3c0504788a331225405e77fd.zip
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')
-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"
LICENSE = "GPL"
SECTION = "bootloader"
-PR = "r0"
+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}',''][bb.data.getVar('TARGET_PREFIX', d, 1) == '']}"
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
BBCLASSEXTEND = "native nativesdk"
do_compile () {
- oe_runmake smdk2410_config
- oe_runmake tools
+ oe_runmake smdk2410_config
+ oe_runmake tools
}
+NATIVE_INSTALL_WORKS = "1"
do_install () {
- install -d ${D}${bindir}
- install -m 0755 tools/mkimage ${D}${bindir}/
+ install -d ${D}${bindir}
+ install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
+ ln -sf uboot-mkimage ${D}${bindir}/mkimage
}
-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
-}