blob: b1ac7892ddbe1e4fac20695797e674d5b8b8b785 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "User interface to Ftrace"
2LICENSE = "GPLv2 & LGPLv2.1"
3
4require trace-cmd.inc
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://trace-cmd.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e \
8 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
9 file://trace-input.c;beginline=5;endline=8;md5=3ec82f43bbe0cfb5951ff414ef4d44d0 \
10"
11
12EXTRA_OEMAKE = "\
13 'prefix=${prefix}' \
14 'bindir=${bindir}' \
15 'man_dir=${mandir}' \
16 'html_install=${datadir}/kernelshark/html' \
17 'img_install=${datadir}/kernelshark/html/images' \
18 \
19 'bindir_relative=${@oe.path.relative(prefix, bindir)}' \
20 'libdir=${@oe.path.relative(prefix, libdir)}' \
21 \
22 NO_PYTHON=1 \
23"
24
25FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug"
26
27do_compile_prepend() {
28 # Make sure the recompile is OK
29 rm -f ${B}/.*.d
30}
31
32do_install() {
33 oe_runmake DESTDIR="${D}" install
34}
35