[oe] native recipes use legacy staging.

C Michael Sundius msundius at sundius.com
Wed Mar 31 00:57:05 UTC 2010

why does the native.bbclass force the use of legacy staging?

also how can I override this. I tried go use create my own

do_stage() {

function in my recipe, but the one in the class was still used.

My issue is that my install function does not use make at all, nor autotools

so the do_stage_native() call [from do_stage() ] fails.


see my [smiple] recipe attached:

PR = "031110"

BBCLASSEXTEND = "native nativesdk"

#SRC_URI = "http://sauscupoe01.cisco.com/cisco/mkimage-tools-${PR}.tar.gz"
SRC_URI = "file:///home/sundism/src/mkimage-tools"

S = ${WORKDIR}/mkimage-tools

do_compile() {

do_install() {
        install  -m 0755 -d ${STAGING_BINDIR}
        install  -m 0755 ${S}/bin/imgen ${bindir}/imgen
        install  -m 0755 -d ${datadir}
        install  -m 0755 -d ${datadir}/LxLoad
        install  -m 0644 ${S}/share/LxLoad/LxLoad2_cronus.img \

do_stage() {

More information about the Openembedded-devel mailing list