blob: 8319eb987aebe569fced77c5d07188f384f6932d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Hardware latency detector"
2DESCRIPTION = "Python utility for controlling the kernel hardware latency detection module (hwlat_detector.ko)."
3HOMEPAGE = "http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rt-tests.git"
4SECTION = "tests"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7
8require rt-tests.inc
9
10EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages"
11
12do_compile() {
13 oe_runmake hwlatdetect
14}
15
16do_install() {
17 oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \
18 MANDIR=${mandir} INCLUDEDIR=${includedir}
19}
20
21FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py"
22RDEPENDS_${PN} = "python python-subprocess python-textutils"
23RRECOMMENDS_${PN} = "kernel-module-hwlat-detector"