diff options
Diffstat (limited to 'meta/recipes-rt/rt-tests')
-rw-r--r-- | meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb b/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb index 025eb63232..012b2dd0a7 100644 --- a/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb +++ b/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb | |||
@@ -6,7 +6,7 @@ LICENSE = "GPLv2" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | 7 | ||
8 | require rt-tests.inc | 8 | require rt-tests.inc |
9 | inherit python-dir | 9 | inherit python3-dir |
10 | 10 | ||
11 | EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" | 11 | EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" |
12 | 12 | ||
@@ -17,8 +17,10 @@ do_compile() { | |||
17 | do_install() { | 17 | do_install() { |
18 | oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ | 18 | oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ |
19 | MANDIR=${mandir} INCLUDEDIR=${includedir} | 19 | MANDIR=${mandir} INCLUDEDIR=${includedir} |
20 | |||
21 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py | ||
20 | } | 22 | } |
21 | 23 | ||
22 | FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" | 24 | FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" |
23 | RDEPENDS_${PN} = "python python-subprocess python-textutils" | 25 | RDEPENDS_${PN} = "python3 python3-subprocess python3-textutils" |
24 | RRECOMMENDS_${PN} = "kernel-module-hwlat-detector" | 26 | RRECOMMENDS_${PN} = "kernel-module-hwlat-detector" |