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 committed 2010-09-08 16:42:52 +01:00
1 parent fac3ca94a2
commit 8be5593777
2 files changed
+5 -8

No files matched your search

+5
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}"