Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V3 0/1] perf: fix issue about package splitting
@ 2014-09-09  1:22 Chong Lu
  2014-09-09  1:22 ` [PATCH V3 1/1] " Chong Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-09-09  1:22 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit a44006262cf3b810ec78b4cccd8076102a7a0f3e:

  distro/poky: Add Debian 7.5 and 7.6 version as validated (2014-09-03 16:00:29 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib chonglu/perf
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/perf

Chong Lu (1):
  perf: fix issue about package splitting

 meta/recipes-kernel/perf/perf.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH V3 1/1] perf: fix issue about package splitting
  2014-09-09  1:22 [PATCH V3 0/1] perf: fix issue about package splitting Chong Lu
@ 2014-09-09  1:22 ` Chong Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-09-09  1:22 UTC (permalink / raw)
  To: openembedded-core

Currently, perf can't split to perf-archive, perf-tests, perf-python and
perf-perl. All files are included in perf package. Change the perfexecdir
variable to make split successfull. Add python to RDEPENDS_perf-tests.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 meta/recipes-kernel/perf/perf.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index ebfedb9..24c7388 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -125,7 +125,8 @@ do_configure_prepend () {
     # config/Makefile.
     if [ -e "${S}/tools/perf/config/Makefile" ]; then
         # Match $(prefix)/$(lib) and $(prefix)/lib
-        sed -i 's,^libdir = \($(prefix)/.*lib\),libdir ?= \1,' \
+        sed -i -e 's,^libdir = \($(prefix)/.*lib\),libdir ?= \1,' \
+               -e 's,^perfexecdir = \(.*\),perfexecdir ?= \1,' \
             ${S}/tools/perf/config/Makefile
     fi
     # We need to ensure the --sysroot option in CC is preserved
@@ -155,6 +156,7 @@ RDEPENDS_${PN} += "elfutils"
 RDEPENDS_${PN}-archive =+ "bash"
 RDEPENDS_${PN}-python =+ "bash python"
 RDEPENDS_${PN}-perl =+ "bash perl perl-modules"
+RDEPENDS_${PN}-tests =+ "python"
 
 RSUGGESTS_SCRIPTING = "${@perf_feature_enabled('perf-scripting', '${PN}-perl ${PN}-python', '',d)}"
 RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-09  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09  1:22 [PATCH V3 0/1] perf: fix issue about package splitting Chong Lu
2014-09-09  1:22 ` [PATCH V3 1/1] " Chong Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox