diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2018-03-02 12:44:16 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:35:42 +0000 |
| commit | 615e700f7ace78b04cdfb9f5a7f70cf6335449fa (patch) | |
| tree | 0c825213e135628455dfa686a2554ef9a7c8e533 /meta/recipes-kernel | |
| parent | e76cba5ae12335f9cdefb41302217cf9281aaaaf (diff) | |
| download | poky-615e700f7ace78b04cdfb9f5a7f70cf6335449fa.tar.gz | |
perf: fix packaging of scripting modules
Make sure that python and perl scripts are packaged in the correct rpm.
(From OE-Core rev: c648d946647141350b12b3aaca99eaa433c60cd7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
| -rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 1bad6f4e9b..d798492562 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
| @@ -223,13 +223,14 @@ RDEPENDS_${PN}-tests =+ "python" | |||
| 223 | RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}" | 223 | RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}" |
| 224 | RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}" | 224 | RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}" |
| 225 | 225 | ||
| 226 | #FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core /usr/lib64/traceevent ${libdir}/traceevent" | ||
| 227 | FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent" | 226 | FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent" |
| 228 | FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive" | 227 | FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive" |
| 229 | FILES_${PN}-tests = "${libdir}/perf/perf-core/tests ${libexecdir}/perf-core/tests" | 228 | FILES_${PN}-tests = "${libdir}/perf/perf-core/tests ${libexecdir}/perf-core/tests" |
| 230 | FILES_${PN}-python = "${libdir}/perf/perf-core/scripts/python ${PYTHON_SITEPACKAGES_DIR}" | 229 | FILES_${PN}-python = " \ |
| 231 | FILES_${PN}-python += "${libexecdir}/perf-core/scripts/python/*" | 230 | ${PYTHON_SITEPACKAGES_DIR} \ |
| 232 | FILES_${PN}-perl = "${libdir}/perf/perf-core/scripts/perl" | 231 | ${libexecdir}/perf-core/scripts/python \ |
| 232 | " | ||
| 233 | FILES_${PN}-perl = "${libexecdir}/perf-core/scripts/perl" | ||
| 233 | 234 | ||
| 234 | 235 | ||
| 235 | INHIBIT_PACKAGE_DEBUG_SPLIT="1" | 236 | INHIBIT_PACKAGE_DEBUG_SPLIT="1" |
