[oe-commits] Khem Raj : task-core-tools: Exclude systemtap for uclibc

git version control git at git.openembedded.org
Wed Jul 20 14:27:49 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: aa66fc48d56385d7bea9c0099fdbc149b0eee7fc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aa66fc48d56385d7bea9c0099fdbc149b0eee7fc

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Jul 19 13:56:54 2011 -0700

task-core-tools: Exclude systemtap for uclibc

systemtap needs full fledged elfutils which cant be
built on uclibc therefore we live without systemtap
on uclibc

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 meta/recipes-core/tasks/task-core-tools.bb |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/tasks/task-core-tools.bb b/meta/recipes-core/tasks/task-core-tools.bb
index 44520a7..eed4afb 100644
--- a/meta/recipes-core/tasks/task-core-tools.bb
+++ b/meta/recipes-core/tasks/task-core-tools.bb
@@ -53,6 +53,11 @@ RRECOMMENDS_task-core-tools-profile = "\
     sysprof \
     "
 
+# systemtap needs elfutils which is not fully buildable on uclibc
+# hence we exclude it from uclibc based builds
+SYSTEMTAP = "systemtap"
+SYSTEMTAP_libc-uclibc = ""
+
 #    exmap-console
 #    exmap-server
 
@@ -60,9 +65,9 @@ RRECOMMENDS_task-core-tools-profile = "\
 # qemux86/qemux86-64/qemuppc/qemuarm/emenlow/atom-pc since upstream liburcu
 # (which is required by lttng-ust) may not build on other platforms, like
 # MIPS.
-RDEPENDS_task-core-tools-profile_append_qemux86 = " valgrind lttng-ust systemtap"
-RDEPENDS_task-core-tools-profile_append_qemux86-64 = " lttng-ust systemtap"
-RDEPENDS_task-core-tools-profile_append_qemuppc = " lttng-ust systemtap"
+RDEPENDS_task-core-tools-profile_append_qemux86 = " valgrind lttng-ust ${SYSTEMTAP}"
+RDEPENDS_task-core-tools-profile_append_qemux86-64 = " lttng-ust ${SYSTEMTAP}"
+RDEPENDS_task-core-tools-profile_append_qemuppc = " lttng-ust ${SYSTEMTAP}"
 RDEPENDS_task-core-tools-profile_append_qemuarm = " lttng-ust"
 
 RDEPENDS_task-core-tools-testapps = "\





More information about the Openembedded-commits mailing list