[oe-commits] [openembedded-core] 37/39: systemtap: ensure systemtap-native is available

git at git.openembedded.org git at git.openembedded.org
Tue Aug 29 10:58:34 UTC 2017


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

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

commit 4d965cdb451f87ee7f9364d71e2eea94cf04d3ed
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Mon Jul 24 18:58:25 2017 -0700

    systemtap: ensure systemtap-native is available
    
    Since we are adding the addto_sysroot that that is specific to the
    native recipe, we must split this into a seperate -native .bb recipe.
    
    When systemtap-native is built, the intention is that it's usable
    from the native sysroot when done, ensure it's there with a forced
    addto_recipe_sysroot task, we also don't want to clean the sysroot
    when RM_WORK is enabled otherwise we loose the binaries.
    
    [YOCTO #11403]
    
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    (cherry picked from commit 2fdb59741b4fdeaa4aee10812c4a409cdc11a02d)
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit 98fba18e93abe8efce0a5b40d51e178c9de4d1e5)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-kernel/systemtap/systemtap-native_git.bb | 7 +++++++
 meta/recipes-kernel/systemtap/systemtap_git.bb        | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/systemtap/systemtap-native_git.bb b/meta/recipes-kernel/systemtap/systemtap-native_git.bb
new file mode 100644
index 0000000..c3da77c
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap-native_git.bb
@@ -0,0 +1,7 @@
+
+require systemtap_git.bb
+
+inherit native
+
+RM_WORK_EXCLUDE_ITEMS += "recipe-sysroot-native"
+addtask addto_recipe_sysroot after do_populate_sysroot before do_build
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index fed368a..b3fd973 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -25,4 +25,4 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,
 
 inherit autotools gettext pkgconfig distutils3-base
 
-BBCLASSEXTEND = "native nativesdk"
+BBCLASSEXTEND = "nativesdk"

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


More information about the Openembedded-commits mailing list