diff options
| -rw-r--r-- | meta/classes/kernel.bbclass | 5 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-wrs_git.bb | 8 |
2 files changed, 5 insertions, 8 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() { | |||
| 501 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" | 501 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" |
| 502 | 502 | ||
| 503 | addtask deploy before do_package after do_install | 503 | addtask deploy before do_package after do_install |
| 504 | |||
| 505 | # perf must be enabled in individual kernel recipes | ||
| 506 | PACKAGES =+ "perf" | ||
| 507 | FILES_perf = "${bindir}/* \ | ||
| 508 | ${libexecdir}" | ||
diff --git a/meta/recipes-kernel/linux/linux-wrs_git.bb b/meta/recipes-kernel/linux/linux-wrs_git.bb index 4f134d4d88..2978ed95cb 100644 --- a/meta/recipes-kernel/linux/linux-wrs_git.bb +++ b/meta/recipes-kernel/linux/linux-wrs_git.bb | |||
| @@ -126,14 +126,6 @@ addtask wrlinux_configcheck after do_configure before do_compile | |||
| 126 | 126 | ||
| 127 | inherit kernel | 127 | inherit kernel |
| 128 | 128 | ||
| 129 | # perf subpackage variables | ||
| 130 | PROVIDES += perf | ||
| 131 | |||
| 132 | PACKAGES =+ "perf" | ||
| 133 | FILES_perf = "${bindir}/* \ | ||
| 134 | ${libexecdir}" | ||
| 135 | |||
| 136 | |||
| 137 | # perf tasks | 129 | # perf tasks |
| 138 | addtask compile_perf after do_compile before do_install | 130 | addtask compile_perf after do_compile before do_install |
| 139 | addtask install_perf after do_install before do_package do_deploy | 131 | addtask install_perf after do_install before do_package do_deploy |
