2008-05-19 09:12:40 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 OpenedHand Ltd.
|
|
|
|
#
|
|
|
|
|
2011-04-20 02:44:52 +00:00
|
|
|
DESCRIPTION = "Tools tasks for OE-Core"
|
2010-06-12 06:03:03 +00:00
|
|
|
LICENSE = "MIT"
|
2011-04-20 15:56:03 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
|
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
2011-09-04 04:18:36 +00:00
|
|
|
PR = "r12"
|
2008-05-19 09:12:40 +00:00
|
|
|
|
|
|
|
PACKAGES = "\
|
2011-04-20 16:25:23 +00:00
|
|
|
task-core-tools-debug \
|
|
|
|
task-core-tools-debug-dbg \
|
|
|
|
task-core-tools-debug-dev \
|
|
|
|
task-core-tools-profile \
|
|
|
|
task-core-tools-profile-dbg \
|
|
|
|
task-core-tools-profile-dev \
|
|
|
|
task-core-tools-testapps \
|
|
|
|
task-core-tools-testapps-dbg \
|
|
|
|
task-core-tools-testapps-dev \
|
2008-05-19 09:12:40 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
|
|
|
|
ALLOW_EMPTY = "1"
|
|
|
|
|
2010-01-19 13:22:46 +00:00
|
|
|
# kexec-tools doesn't work on Mips
|
|
|
|
KEXECTOOLS ?= "kexec-tools"
|
|
|
|
KEXECTOOLS_mips ?= ""
|
2010-01-29 02:23:46 +00:00
|
|
|
KEXECTOOLS_mipsel ?= ""
|
2010-06-11 08:31:37 +00:00
|
|
|
KEXECTOOLS_powerpc ?= ""
|
2010-01-19 13:22:46 +00:00
|
|
|
|
2011-04-20 16:25:23 +00:00
|
|
|
RDEPENDS_task-core-tools-debug = "\
|
2008-05-19 09:12:40 +00:00
|
|
|
gdb \
|
|
|
|
gdbserver \
|
2010-07-23 12:23:33 +00:00
|
|
|
tcf-agent \
|
2010-09-25 08:28:19 +00:00
|
|
|
rsync \
|
2008-05-19 09:12:40 +00:00
|
|
|
strace"
|
|
|
|
|
2011-04-20 16:25:23 +00:00
|
|
|
RDEPENDS_task-core-tools-profile = "\
|
2008-05-19 09:12:40 +00:00
|
|
|
oprofile \
|
|
|
|
oprofileui-server \
|
|
|
|
powertop \
|
2010-07-20 11:34:13 +00:00
|
|
|
latencytop \
|
2008-05-19 09:12:40 +00:00
|
|
|
lttng-control \
|
|
|
|
lttng-viewer"
|
|
|
|
|
2011-04-20 16:25:23 +00:00
|
|
|
RRECOMMENDS_task-core-tools-profile = "\
|
2010-09-06 02:25:15 +00:00
|
|
|
perf \
|
2010-09-07 03:53:39 +00:00
|
|
|
trace-cmd \
|
2010-11-23 06:01:10 +00:00
|
|
|
kernel-module-oprofile \
|
2010-12-29 17:43:22 +00:00
|
|
|
blktrace \
|
2010-12-08 07:50:04 +00:00
|
|
|
sysprof \
|
2010-11-23 06:01:10 +00:00
|
|
|
"
|
2010-08-19 09:01:56 +00:00
|
|
|
|
2011-07-19 20:56:54 +00:00
|
|
|
# systemtap needs elfutils which is not fully buildable on uclibc
|
|
|
|
# hence we exclude it from uclibc based builds
|
|
|
|
SYSTEMTAP = "systemtap"
|
|
|
|
SYSTEMTAP_libc-uclibc = ""
|
|
|
|
|
2011-07-21 06:10:13 +00:00
|
|
|
# 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 = ""
|
|
|
|
|
2009-05-24 23:51:37 +00:00
|
|
|
# exmap-console
|
|
|
|
# exmap-server
|
|
|
|
|
2010-08-12 05:33:29 +00:00
|
|
|
# At present we only build lttng-ust on
|
2011-04-20 02:44:52 +00:00
|
|
|
# qemux86/qemux86-64/qemuppc/qemuarm/emenlow/atom-pc since upstream liburcu
|
2010-08-12 05:33:29 +00:00
|
|
|
# (which is required by lttng-ust) may not build on other platforms, like
|
2011-04-20 02:44:52 +00:00
|
|
|
# MIPS.
|
2011-07-19 20:56:54 +00:00
|
|
|
RDEPENDS_task-core-tools-profile_append_qemux86 = " valgrind lttng-ust ${SYSTEMTAP}"
|
2011-07-21 06:10:13 +00:00
|
|
|
RDEPENDS_task-core-tools-profile_append_qemux86-64 = " ${LTTNGUST} ${SYSTEMTAP}"
|
2011-08-16 22:22:24 +00:00
|
|
|
RDEPENDS_task-core-tools-profile_append_qemuppc = " ${LTTNGUST} ${SYSTEMTAP}"
|
2011-09-04 04:18:36 +00:00
|
|
|
RDEPENDS_task-core-tools-profile_append_qemuarm = " ${LTTNGUST} ${SYSTEMTAP}"
|
2008-05-19 09:12:40 +00:00
|
|
|
|
2011-04-20 16:25:23 +00:00
|
|
|
RDEPENDS_task-core-tools-testapps = "\
|
2008-05-19 09:12:40 +00:00
|
|
|
blktool \
|
2010-11-22 13:57:13 +00:00
|
|
|
fstests \
|
2008-05-19 09:12:40 +00:00
|
|
|
tslib-calibrate \
|
|
|
|
tslib-tests \
|
|
|
|
lrzsz \
|
2010-01-19 13:22:46 +00:00
|
|
|
${KEXECTOOLS} \
|
2008-05-19 09:12:40 +00:00
|
|
|
alsa-utils-amixer \
|
|
|
|
alsa-utils-aplay \
|
2008-07-16 09:31:01 +00:00
|
|
|
owl-video \
|
2008-05-19 09:12:40 +00:00
|
|
|
gst-meta-video \
|
|
|
|
gst-meta-audio \
|
2011-06-07 22:04:14 +00:00
|
|
|
mesa-demos \
|
2010-11-22 13:57:13 +00:00
|
|
|
x11perf \
|
2008-05-19 09:12:40 +00:00
|
|
|
xrestop \
|
|
|
|
xwininfo \
|
|
|
|
xprop \
|
2011-07-07 14:22:11 +00:00
|
|
|
xvideo-tests \
|
|
|
|
clutter-box2d-1.6 \
|
|
|
|
"
|