From: Frans Meulenbroeks Date: Sat, 14 Aug 2010 08:56:02 +0000 (+0200) Subject: genboot-native: Removing legacy staging X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e7ba4143b9240d624159522f17807fecc140dc5;p=openembedded.git genboot-native: Removing legacy staging * Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} with ${D}${bindir} * removed FILESDIR * bumped PR * ran through oe-stylize Signed-off-by: Noor Ahsan Signed-off-by: Frans Meulenbroeks --- diff --git a/recipes/simpad-utilities/genboot-native.bb b/recipes/simpad-utilities/genboot-native.bb index 47b9b34640..b7bfe01f0a 100644 --- a/recipes/simpad-utilities/genboot-native.bb +++ b/recipes/simpad-utilities/genboot-native.bb @@ -1,20 +1,21 @@ -SECTION = "console/utils" -PR = "r1" DESCRIPTION = "Console utility for generating a SIMpad boot image for the proprietary SIEMENS Switzerland bootloader" -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/genboot" -SRC_URI = "file://gen_boot.c file://arnold_boot.h file://simpad-make-flashimg" +SECTION = "console/utils" LICENSE = "GPL" - DEPENDS = "pad-native" +PR = "r2" + +SRC_URI = "file://gen_boot.c file://arnold_boot.h file://simpad-make-flashimg" inherit native do_compile() { - cp ${WORKDIR}/*.h ${WORKDIR}/*.c . - ${CC} -I. -o genboot gen_boot.c + cp ${WORKDIR}/*.h ${WORKDIR}/*.c . + ${CC} -I. -o genboot gen_boot.c } - -do_stage() { - install -m 0755 genboot ${STAGING_BINDIR}/ - install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/ +do_install() { + install -d ${D}${bindir}/ + install -m 0755 genboot ${D}${bindir}/ + install -m 0755 ${WORKDIR}/simpad-make-flashimg ${D}${bindir}/ } + +NATIVE_INSTALL_WORKS = "1"