From c5f2ff91f6fa929c12315b773421cd13b26fbb34 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Nov 2009 21:49:29 +0000 Subject: u-boot-mkimage-native: Convert to use do_install for staging Signed-off-by: Richard Purdie --- meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'meta/packages') diff --git a/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb b/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb index 38dd700d0..6922d69e0 100644 --- a/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb +++ b/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb @@ -12,11 +12,13 @@ inherit native EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" do_compile () { - oe_runmake smdk2410_config - oe_runmake tools + oe_runmake smdk2410_config + oe_runmake tools } -do_stage () { - install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage - ln -sf ${STAGING_BINDIR_NATIVE}/uboot-mkimage ${STAGING_BINDIR_NATIVE}/mkimage +NATIVE_INSTALL_WORKS = "1" +do_install () { + install -d ${D}${bindir}/ + install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage + ln -sf uboot-mkimage ${D}${bindir}/mkimage } -- cgit v1.2.3