On Thu, 2017-02-16 at 15:46 -0800, Saul Wold wrote: > This allows a native package's recipe-sysroot-native to be populated > with > that packages native image files. This in turns allows it to be used > by > scripts or other tools without creating un-necessary DEPENDS. > > An example of this is systemtap-native and the crosstap script. > > Signed-off-by: Saul Wold <s...@linux.intel.com> > --- > meta/classes/native.bbclass | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/meta/classes/native.bbclass > b/meta/classes/native.bbclass > index ec91fc3..d9dfea7 100644 > --- a/meta/classes/native.bbclass > +++ b/meta/classes/native.bbclass > @@ -174,6 +174,11 @@ python native_virtclass_handler () { > addhandler native_virtclass_handler > native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" > > +python do_addto_recipe_sysroot () { > + bb.build.exec_func("extend_recipe_sysroot", d) > +} > +addtask addto_recipe_sysroot after do_populate_sysroot before > do_build > + > inherit nopackages
I'm fine with adding this task as a shortcut to allow the particular recipe to be run from a recipe sysroot. What I don't want is every recipe needing to run this all the time which the "before do_build" enables. Can we do this without the do_build piece and manually run the task where needed? Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core