From 1db1e82e150e97df6fc7e4ea36f50b747369c1e3 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Wed, 20 Jan 2021 10:32:48 +0800 Subject: hwlatdetect: upgrade 1.9 -> 1.10 Signed-off-by: Anuj Mittal --- meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb | 26 ++++++++++++++++++++++++++ meta/recipes-rt/rt-tests/hwlatdetect_1.9.bb | 26 -------------------------- meta/recipes-rt/rt-tests/rt-tests.inc | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb delete mode 100644 meta/recipes-rt/rt-tests/hwlatdetect_1.9.bb diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb b/meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb new file mode 100644 index 0000000000..5f61c4ecdd --- /dev/null +++ b/meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb @@ -0,0 +1,26 @@ +SUMMARY = "Hardware latency detector" +DESCRIPTION = "Python utility for controlling the kernel hardware latency detection module (hwlat_detector.ko)." +HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" +SECTION = "tests" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +require rt-tests.inc +inherit python3-dir + +EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" + +do_compile() { + oe_runmake hwlatdetect +} + +do_install() { + oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ + MANDIR=${mandir} INCLUDEDIR=${includedir} + + sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py +} + +FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" +RDEPENDS_${PN} = "python3-core " +RRECOMMENDS_${PN} = "kernel-module-hwlat-detector" diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_1.9.bb b/meta/recipes-rt/rt-tests/hwlatdetect_1.9.bb deleted file mode 100644 index 5f61c4ecdd..0000000000 --- a/meta/recipes-rt/rt-tests/hwlatdetect_1.9.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Hardware latency detector" -DESCRIPTION = "Python utility for controlling the kernel hardware latency detection module (hwlat_detector.ko)." -HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" -SECTION = "tests" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -require rt-tests.inc -inherit python3-dir - -EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" - -do_compile() { - oe_runmake hwlatdetect -} - -do_install() { - oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ - MANDIR=${mandir} INCLUDEDIR=${includedir} - - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py -} - -FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" -RDEPENDS_${PN} = "python3-core " -RRECOMMENDS_${PN} = "kernel-module-hwlat-detector" diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc index 2dd890cf95..9358f13d06 100644 --- a/meta/recipes-rt/rt-tests/rt-tests.inc +++ b/meta/recipes-rt/rt-tests/rt-tests.inc @@ -1,5 +1,5 @@ # Version 1.8 -SRCREV = "21c1df7d2ee199ac619cbb1806a38d15e7e95c09" +SRCREV = "32819581cc0509c9d58c33c3061f57abe0c40c88" PE = "1" SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=unstable/devel/latest" -- cgit 1.2.3-korg