diff options
Diffstat (limited to 'meta/recipes-kernel/trace-cmd/trace-cmd_git.bb')
-rw-r--r-- | meta/recipes-kernel/trace-cmd/trace-cmd_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb new file mode 100644 index 0000000000..b1ac7892dd --- /dev/null +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "User interface to Ftrace" | ||
2 | LICENSE = "GPLv2 & LGPLv2.1" | ||
3 | |||
4 | require trace-cmd.inc | ||
5 | |||
6 | LIC_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 | |||
12 | EXTRA_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 | |||
25 | FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug" | ||
26 | |||
27 | do_compile_prepend() { | ||
28 | # Make sure the recompile is OK | ||
29 | rm -f ${B}/.*.d | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | oe_runmake DESTDIR="${D}" install | ||
34 | } | ||
35 | |||