summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2010-12-28 17:10:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-06 10:06:29 +0000
commit39305385868901248c569456a1c7e30cc5166cad (patch)
treea7726cf0794ae9bd2d2ff7053c54932c1af30866 /meta/recipes-kernel/trace-cmd/kernelshark_git.bb
parent656409795206a45284694b2c43d83c1cdccc0c8c (diff)
downloadpoky-39305385868901248c569456a1c7e30cc5166cad.tar.gz
kernelshark: add ftrace gui viewer
The trace-cmd source includes a graphical trace viewer, but we don't want to make the trace-cmd recipe depend on gtk+. This patch adds a second recipe in the meta/recipes-kernel/trace-cmd directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd to ensure compatibility. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/trace-cmd/kernelshark_git.bb')
-rw-r--r--meta/recipes-kernel/trace-cmd/kernelshark_git.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_git.bb b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
new file mode 100644
index 0000000000..ddf7c1ef73
--- /dev/null
+++ b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Graphical trace viewer for Ftrace"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
4 file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
5
6PR = r0
7PV = "1.0.4+git${SRCPV}"
8
9DEPENDS = "gtk+"
10RDEPENDS_${PN} = "trace-cmd"
11
12inherit pkgconfig
13
14SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git"
15S = "${WORKDIR}/git"
16
17EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui"
18
19do_install() {
20 oe_runmake CC="${CC}" AR="${AR}" prefix="${prefix}" DESTDIR="${D}" install_gui
21}