mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
kernel.bbclass/linux-wrs: move definition of perf package to kernel class
By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -501,3 +501,8 @@ do_deploy() {
|
||||
do_deploy[dirs] = "${DEPLOYDIR} ${B}"
|
||||
|
||||
addtask deploy before do_package after do_install
|
||||
|
||||
# perf must be enabled in individual kernel recipes
|
||||
PACKAGES =+ "perf"
|
||||
FILES_perf = "${bindir}/* \
|
||||
${libexecdir}"
|
||||
|
||||
@@ -126,14 +126,6 @@ addtask wrlinux_configcheck after do_configure before do_compile
|
||||
|
||||
inherit kernel
|
||||
|
||||
# perf subpackage variables
|
||||
PROVIDES += perf
|
||||
|
||||
PACKAGES =+ "perf"
|
||||
FILES_perf = "${bindir}/* \
|
||||
${libexecdir}"
|
||||
|
||||
|
||||
# perf tasks
|
||||
addtask compile_perf after do_compile before do_install
|
||||
addtask install_perf after do_install before do_package do_deploy
|
||||
|
||||
Reference in New Issue
Block a user