All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Henning Heinold <henning@itconsulting-heinold.de>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/3][for-dora] perf: split packging
Date: Sat, 28 Jun 2014 10:39:42 +0800	[thread overview]
Message-ID: <53AE2AEE.3020705@windriver.com> (raw)
In-Reply-To: <1403645687-19655-3-git-send-email-henning@itconsulting-heinold.de>



On 06/25/2014 05:34 AM, Henning Heinold wrote:
> * some fundamental perf commands can work
>    without the dependency on perl, python or bash
>    make them separate packages and RSUGGEST them
>
> * bump PR

Why you need bump the PR, please ?

// Robert

>
> The patch was sponsored by sysmocom
>
> Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
> ---
>   meta/recipes-kernel/perf/perf.bb | 21 +++++++++++++++------
>   1 file changed, 15 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index 31c2c8e..e43f053 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -9,7 +9,7 @@ as well."
>   LICENSE = "GPLv2"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>
> -PR = "r8"
> +PR = "r9"
>
>   require perf-features.inc
>
> @@ -27,9 +27,6 @@ DEPENDS = "virtual/kernel \
>              bison flex \
>             "
>
> -SCRIPTING_RDEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl perl-modules python', '',d)}"
> -RDEPENDS_${PN} += "elfutils bash ${SCRIPTING_RDEPENDS}"
> -
>   PROVIDES = "virtual/perf"
>
>   inherit linux-kernel-base kernel-arch pythonnative
> @@ -124,6 +121,18 @@ python do_package_prepend() {
>
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> -FILES_${PN} += "${libexecdir}/perf-core"
> +PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python"
> +
> +RDEPENDS_${PN} += "elfutils"
> +RDEPENDS_${PN}-archive =+ "bash"
> +RDEPENDS_${PN}-python =+ "bash python"
> +RDEPENDS_${PN}-perl =+ "bash perl perl-modules"
> +
> +RSUGGESTS_SCRIPTING = "${@perf_feature_enabled('perf-scripting', '${PN}-perl ${PN}-python', '',d)}"
> +RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}"
> +
>   FILES_${PN}-dbg += "${libdir}/python*/site-packages/.debug"
> -FILES_${PN} += "${libdir}/python*/site-packages"
> +FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive"
> +FILES_${PN}-tests = "${libdir}/perf/perf-core/tests"
> +FILES_${PN}-python = "${libdir}/python*/site-packages ${libdir}/perf/perf-core/scripts/python"
> +FILES_${PN}-perl = "${libdir}/perf/perf-core/scripts/perl"
>


  reply	other threads:[~2014-06-28  2:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24 21:34 [PATCH 0/3][for-dora] backport of the perf enhencements Henning Heinold
2014-06-24 21:34 ` [PATCH 1/3][for-dora] perf: fix broken shell comparsion in do_install Henning Heinold
2014-06-24 21:34 ` [PATCH 2/3][for-dora] perf: split packging Henning Heinold
2014-06-28  2:39   ` Robert Yang [this message]
2014-06-24 21:34 ` [PATCH 3/3][for-dora] perf: add slang to the dependencies Henning Heinold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53AE2AEE.3020705@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=henning@itconsulting-heinold.de \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.