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:
Joshua Lock
2010-09-08 15:48:31 +01:00
parent fac3ca94a2
commit 8be5593777
2 changed files with 5 additions and 8 deletions

View File

@@ -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}"

View File

@@ -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