Openembedded Devel Discussions
 help / color / mirror / Atom feed
* native recipes use legacy staging.
@ 2010-03-31  0:57 C Michael Sundius
  2010-03-31  6:32 ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: C Michael Sundius @ 2010-03-31  0:57 UTC (permalink / raw)
  To: openembedded-devel

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.

thanks

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 \
                ${datadir}/LxLoad/LxLoad2_cronus.img
}

do_stage() {
        :
}


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-31 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31  0:57 native recipes use legacy staging C Michael Sundius
2010-03-31  6:32 ` Koen Kooi
2010-03-31 17:10   ` C Michael Sundius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox