[OE-core] About scripts/oe-find-native-sysroot
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Mar 1 23:53:21 UTC 2017
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=ce79111e735529546e8a20e4315e3566a556a936
In some cases build-sysroots would likely make the most sense.
Cheers,
Richard
More information about the Openembedded-core
mailing list