mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
native.bbclass: populate native recipe with it's files
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. (From OE-Core rev: 7f6b4359e1f2d9d748d23305a2af73c0efba5928) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
970b0321cf
commit
ce79111e73
@@ -174,6 +174,11 @@ python native_virtclass_handler () {
|
|||||||
addhandler native_virtclass_handler
|
addhandler native_virtclass_handler
|
||||||
native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise"
|
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
|
||||||
|
|
||||||
inherit nopackages
|
inherit nopackages
|
||||||
|
|
||||||
do_packagedata[stamp-extra-info] = ""
|
do_packagedata[stamp-extra-info] = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user