summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/tasks
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-20 23:10:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 11:51:04 +0100
commit48966d90f2b3efd4a0d50b3a9d059f19e4a7f8ea (patch)
tree77768d6c02b012427ecbdb09477d9805a5278c51 /meta/recipes-core/tasks
parenta9aa45ce9e5fd6cf7b38d2148a0f48b188f67430 (diff)
downloadast2050-yocto-poky-48966d90f2b3efd4a0d50b3a9d059f19e4a7f8ea.zip
ast2050-yocto-poky-48966d90f2b3efd4a0d50b3a9d059f19e4a7f8ea.tar.gz
task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
(From OE-Core rev: 172e8de050673bedd1d7a17e5b9bd099448e20fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/tasks')
-rw-r--r--meta/recipes-core/tasks/task-core-tools.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-core/tasks/task-core-tools.bb b/meta/recipes-core/tasks/task-core-tools.bb
index eed4afb..b0eb7d4 100644
--- a/meta/recipes-core/tasks/task-core-tools.bb
+++ b/meta/recipes-core/tasks/task-core-tools.bb
@@ -58,6 +58,15 @@ RRECOMMENDS_task-core-tools-profile = "\
SYSTEMTAP = "systemtap"
SYSTEMTAP_libc-uclibc = ""
+# lttng-ust uses sched_getcpu() which is not there on uclibc
+# for some of the architectures it can be patched to call the
+# syscall directly but for x86_64 __NR_getcpu is a vsyscall
+# which means we can not use syscall() to call it. So we ignore
+# it for x86_64/uclibc
+
+LTTNGUST = "lttng-ust"
+LTTNGUST_libc-uclibc = ""
+
# exmap-console
# exmap-server
@@ -66,7 +75,7 @@ SYSTEMTAP_libc-uclibc = ""
# (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_qemux86-64 = " ${LTTNGUST} ${SYSTEMTAP}"
RDEPENDS_task-core-tools-profile_append_qemuppc = " lttng-ust ${SYSTEMTAP}"
RDEPENDS_task-core-tools-profile_append_qemuarm = " lttng-ust"
OpenPOWER on IntegriCloud