On Wed, 6 Sept 2023 at 22:53, Richard Purdie <[email protected]> wrote: > That test/calls were fairly recently added: > > https://git.yoctoproject.org/poky/commit/meta/lib/oeqa/selftest/cases/meta_ide.py?id=9b3fcb0d91648ae3b53ec8ffcb31fb6eac9209dd > > That test should probably call: > > bitbake("build-sysroots -c build_native_sysroot") > bitbake("build-sysroots -c build_target_sysroot") > > om the setup case and then just call the target piece again in the > specific test. > > We could drop the "before do_build" in the build-sysroots recipe. > > Note that the tasks are nostamp so they will always rerun. It does make > sense to have a way to regenerate the target sysroot only but if you > change it as you suggest, that becomes impossible.
Setting up the 'direct esdk' would become somewhat more awkward as it does currently rely on being able to run 'bitbake build-sysroots' directly as officially published: (yes the doc formatting needs to be fixed): https://docs.yoctoproject.org/sdk-manual/extensible.html#setting-up-the-extensible-sdk-environment-directly-in-a-yocto-build https://docs.yoctoproject.org/sdk-manual/extensible.html#when-using-the-extensible-sdk-directly-in-a-yocto-build I can fix both the test and the documentation to run first native, then target task explicitly, but I would really prefer to make 'bitbake build-sysroots' just work without chance of failures. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#187357): https://lists.openembedded.org/g/openembedded-core/message/187357 Mute This Topic: https://lists.openembedded.org/mt/101197363/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
