diff options
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 578b871e9e..42621e47d3 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -9,11 +9,11 @@ HOMEPAGE = "https://perf.wiki.kernel.org/index.php/Main_Page" | |||
9 | 9 | ||
10 | LICENSE = "GPLv2" | 10 | LICENSE = "GPLv2" |
11 | 11 | ||
12 | PR = "r9" | 12 | PR = "r10" |
13 | 13 | ||
14 | PACKAGECONFIG ??= "scripting tui libunwind" | 14 | PACKAGECONFIG ??= "scripting tui libunwind" |
15 | PACKAGECONFIG[dwarf] = ",NO_DWARF=1" | 15 | PACKAGECONFIG[dwarf] = ",NO_DWARF=1" |
16 | PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3" | 16 | PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3 python3-setuptools-native" |
17 | # gui support was added with kernel 3.6.35 | 17 | # gui support was added with kernel 3.6.35 |
18 | # since 3.10 libnewt was replaced by slang | 18 | # since 3.10 libnewt was replaced by slang |
19 | # to cover a wide range of kernel we add both dependencies | 19 | # to cover a wide range of kernel we add both dependencies |
@@ -45,7 +45,7 @@ PROVIDES = "virtual/perf" | |||
45 | inherit linux-kernel-base kernel-arch manpages | 45 | inherit linux-kernel-base kernel-arch manpages |
46 | 46 | ||
47 | # needed for building the tools/perf Python bindings | 47 | # needed for building the tools/perf Python bindings |
48 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'python3native', '', d)} | 48 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'python3targetconfig', '', d)} |
49 | inherit python3-dir | 49 | inherit python3-dir |
50 | export PYTHON_SITEPACKAGES_DIR | 50 | export PYTHON_SITEPACKAGES_DIR |
51 | 51 | ||
@@ -265,9 +265,9 @@ PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python" | |||
265 | 265 | ||
266 | RDEPENDS_${PN} += "elfutils bash" | 266 | RDEPENDS_${PN} += "elfutils bash" |
267 | RDEPENDS_${PN}-archive =+ "bash" | 267 | RDEPENDS_${PN}-archive =+ "bash" |
268 | RDEPENDS_${PN}-python =+ "bash python3 python3-modules ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'audit-python3', '', d)}" | 268 | RDEPENDS_${PN}-python =+ "bash python3 python3-modules ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'audit-python', '', d)}" |
269 | RDEPENDS_${PN}-perl =+ "bash perl perl-modules" | 269 | RDEPENDS_${PN}-perl =+ "bash perl perl-modules" |
270 | RDEPENDS_${PN}-tests =+ "python3" | 270 | RDEPENDS_${PN}-tests =+ "python3 bash" |
271 | 271 | ||
272 | RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}" | 272 | RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}" |
273 | RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}" | 273 | RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}" |