[oe-commits] [openembedded-core] 12/68: native.bbclass: populate native recipe with it's files

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 20:50:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7f6b4359e1f2d9d748d23305a2af73c0efba5928
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Sun Feb 19 21:40:43 2017 -0800

    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.
    
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at 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..6becf82 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
+
 inherit nopackages
 
 do_packagedata[stamp-extra-info] = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list