blob: 563182c89feb84fca5376281186236e17b224248 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Graphical trace viewer for Ftrace"
2LICENSE = "GPLv2"
3
4require trace-cmd.inc
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
8
9DEPENDS = "gtk+ libxml2"
10RDEPENDS_${PN} = "trace-cmd"
11
Patrick Williamsf1e5d692016-03-30 15:21:19 -050012inherit distro_features_check
13ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
14
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015EXTRA_OEMAKE = "\
16 'prefix=${prefix}' \
17 'bindir_relative=${@oe.path.relative(prefix, bindir)}' \
18 'libdir=${@oe.path.relative(prefix, libdir)}' \
19 NO_PYTHON=1 \
20 gui \
21"
22do_configure_prepend() {
23 # Make sure the recompile is OK
24 rm -f ${B}/.*.d
25}
26
27do_install() {
28 oe_runmake DESTDIR="${D}" install_gui
29 rm ${D}${bindir}/trace-cmd
30 rm -rf ${D}${libdir}/trace-cmd
31 rmdir ${D}${libdir}
32}