[OE-core] About scripts/oe-find-native-sysroot
Adrian Freihofer
adrian.freihofer at gmail.com
Thu Mar 9 22:33:18 UTC 2017
Hi,
scripts/runqemu-gen-tapdevs requires native sysroot as a command line
parameter. Which folder might be passed to the script now?
Regards,
Adrian
On Wed, 2017-03-01 at 23:53 +0000, Richard Purdie wrote:
> On Wed, 2017-03-01 at 13:58 +0800, Robert Yang wrote:
> > Hi RP,
> >
> > The common STAGING_DIR_NATIVE is gone, so the OECORE_NATIVE_SYSROOT
> > defined in scripts/oe-find-native-sysroot doesn't make any sense
> > currently:
> >
> > OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut
> > -d
> > '"' -f2`
> >
> > But the following ones depend on it:
> >
> > meta/classes/populate_sdk_ext.bbclass
> > meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
> > scripts/oe-run-native
> > scripts/runqemu-export-rootfs
> > scripts/runqemu-extract-sdk
> >
> > What shall we do on oe-find-native-sysroot? Remove it and
> > make other ones work without it? Or let it depend on build-
> > sysroots,
> > please ?
>
> If we could make other things survive without it that would be good.
> Some might want to use the addto_recipe_sysroot task:
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ce79111e73552954
> 6e8a20e4315e3566a556a936
>
> In some cases build-sysroots would likely make the most sense.
>
> Cheers,
>
> Richard
More information about the Openembedded-core
mailing list