diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-02-19 21:40:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:49 -0800 |
commit | ce79111e735529546e8a20e4315e3566a556a936 (patch) | |
tree | 87269ed26132aca7d23c02c444c57563c6642cd6 /meta | |
parent | 970b0321cf095e07fdf5bab304f23b1d30606c4a (diff) | |
download | poky-ce79111e735529546e8a20e4315e3566a556a936.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/native.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index ec91fc3c80..6becf8233f 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -174,6 +174,11 @@ python native_virtclass_handler () { | |||
174 | addhandler native_virtclass_handler | 174 | addhandler native_virtclass_handler |
175 | native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" | 175 | native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" |
176 | 176 | ||
177 | python do_addto_recipe_sysroot () { | ||
178 | bb.build.exec_func("extend_recipe_sysroot", d) | ||
179 | } | ||
180 | addtask addto_recipe_sysroot after do_populate_sysroot | ||
181 | |||
177 | inherit nopackages | 182 | inherit nopackages |
178 | 183 | ||
179 | do_packagedata[stamp-extra-info] = "" | 184 | do_packagedata[stamp-extra-info] = "" |