diff options
Diffstat (limited to 'meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb')
-rw-r--r-- | meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb new file mode 100644 index 0000000000..aa070a9d9b --- /dev/null +++ b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "Graphical trace viewer for Ftrace" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
4 | file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e" | ||
5 | |||
6 | SRCREV = "7055ffd37beeb44714e86a4abc703f7e175a0db5" | ||
7 | PR = "r0" | ||
8 | PV = "1.2+git${SRCPV}" | ||
9 | |||
10 | DEPENDS = "gtk+" | ||
11 | RDEPENDS_${PN} = "trace-cmd" | ||
12 | |||
13 | inherit pkgconfig | ||
14 | |||
15 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git \ | ||
16 | file://addldflags.patch \ | ||
17 | file://make-docs-optional.patch" | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui" | ||
21 | |||
22 | FILES_${PN} += "${datadir}/trace-cmd/plugins/*.so" | ||
23 | FILES_${PN}-dbg += "${datadir}/trace-cmd/plugins/.debug/" | ||
24 | |||
25 | FILESPATH = "${FILE_DIRNAME}/trace-cmd" | ||
26 | |||
27 | do_install() { | ||
28 | oe_runmake CC="${CC}" AR="${AR}" prefix="${prefix}" DESTDIR="${D}" install_gui | ||
29 | } | ||