Openembedded Core Discussions
 help / color / mirror / Atom feed
* About scripts/oe-find-native-sysroot
@ 2017-03-01  5:58 Robert Yang
  2017-03-01 23:53 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2017-03-01  5:58 UTC (permalink / raw)
  To: Richard Purdie; +Cc: oe-core

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 ?

-- 
Thanks

Robert


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

* Re: About scripts/oe-find-native-sysroot
  2017-03-01  5:58 About scripts/oe-find-native-sysroot Robert Yang
@ 2017-03-01 23:53 ` Richard Purdie
  2017-03-09 22:33   ` Adrian Freihofer
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2017-03-01 23:53 UTC (permalink / raw)
  To: Robert Yang; +Cc: oe-core

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


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

* Re: About scripts/oe-find-native-sysroot
  2017-03-01 23:53 ` Richard Purdie
@ 2017-03-09 22:33   ` Adrian Freihofer
  2017-03-09 22:37     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Freihofer @ 2017-03-09 22:33 UTC (permalink / raw)
  To: openembedded-core

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


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

* Re: About scripts/oe-find-native-sysroot
  2017-03-09 22:33   ` Adrian Freihofer
@ 2017-03-09 22:37     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2017-03-09 22:37 UTC (permalink / raw)
  To: Adrian Freihofer, openembedded-core

On Thu, 2017-03-09 at 23:33 +0100, Adrian Freihofer wrote:
> Hi,
> 
> scripts/runqemu-gen-tapdevs requires native sysroot as a command line
> parameter. Which folder might be passed to the script now?

bitbake qemu-helper-native

and then pass in the native recipe sysroot from the WORKDIR of that
recipe.

Cheers,

Richard


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

end of thread, other threads:[~2017-03-09 22:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01  5:58 About scripts/oe-find-native-sysroot Robert Yang
2017-03-01 23:53 ` Richard Purdie
2017-03-09 22:33   ` Adrian Freihofer
2017-03-09 22:37     ` Richard Purdie

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