Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |