summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-09-08 15:48:31 +0100
committerJoshua Lock <josh@linux.intel.com>2010-09-08 16:42:52 +0100
commit8be5593777be3a6617791fc70e9aa47d54ca1676 (patch)
tree9131dcb0038499df8a535f432b773cc04492023a /meta/classes
parentfac3ca94a235aa4a5bcf12c66a6e02a42b2ce538 (diff)
downloadpoky-8be5593777be3a6617791fc70e9aa47d54ca1676.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 10e5c2a571..4c79a98039 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -501,3 +501,8 @@ do_deploy() {
501do_deploy[dirs] = "${DEPLOYDIR} ${B}" 501do_deploy[dirs] = "${DEPLOYDIR} ${B}"
502 502
503addtask deploy before do_package after do_install 503addtask deploy before do_package after do_install
504
505# perf must be enabled in individual kernel recipes
506PACKAGES =+ "perf"
507FILES_perf = "${bindir}/* \
508 ${libexecdir}"