summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf/perf.bb
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-03-02 12:44:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:35:42 +0000
commit615e700f7ace78b04cdfb9f5a7f70cf6335449fa (patch)
tree0c825213e135628455dfa686a2554ef9a7c8e533 /meta/recipes-kernel/perf/perf.bb
parente76cba5ae12335f9cdefb41302217cf9281aaaaf (diff)
downloadpoky-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/perf/perf.bb')
-rw-r--r--meta/recipes-kernel/perf/perf.bb9
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"
223RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}" 223RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}"
224RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}" 224RSUGGESTS_${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"
227FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent" 226FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent"
228FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive" 227FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive"
229FILES_${PN}-tests = "${libdir}/perf/perf-core/tests ${libexecdir}/perf-core/tests" 228FILES_${PN}-tests = "${libdir}/perf/perf-core/tests ${libexecdir}/perf-core/tests"
230FILES_${PN}-python = "${libdir}/perf/perf-core/scripts/python ${PYTHON_SITEPACKAGES_DIR}" 229FILES_${PN}-python = " \
231FILES_${PN}-python += "${libexecdir}/perf-core/scripts/python/*" 230 ${PYTHON_SITEPACKAGES_DIR} \
232FILES_${PN}-perl = "${libdir}/perf/perf-core/scripts/perl" 231 ${libexecdir}/perf-core/scripts/python \
232 "
233FILES_${PN}-perl = "${libexecdir}/perf-core/scripts/perl"
233 234
234 235
235INHIBIT_PACKAGE_DEBUG_SPLIT="1" 236INHIBIT_PACKAGE_DEBUG_SPLIT="1"