All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: Li xin <lixin.fnst@cn.fujitsu.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] opensaf: Add PACKAGECONFIG for openhpi
Date: Fri, 17 Jul 2015 10:15:26 -0400	[thread overview]
Message-ID: <20150717141526.GA3901@mentor.com> (raw)
In-Reply-To: <1437101120-1624-1-git-send-email-lixin.fnst@cn.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]

Hi Li,

[[oe] [meta-networking][PATCH] opensaf: Add PACKAGECONFIG for openhpi] On 15.07.17 (Fri 10:45) Li xin wrote:

> opensaf support for the HPI, So provide a PACKAGECONFIG option for openhpi
> 
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> ---
>  meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
> index 3d0175e..6ad8a3d 100644
> --- a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
> +++ b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
> @@ -36,6 +36,8 @@ USERADD_PARAM_${PN} =  "-r -g opensaf -d ${datadir}/opensaf/ -s ${sbindir}/nolog
>  SYSTEMD_SERVICE_${PN} += "opensafd.service plmcboot.service plmcd.service"
>  SYSTEMD_AUTO_ENABLE = "disable"
>  
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'openhpi', 'openhpi', '', d)}"

AFAIK this won't actually add openhpi to DEPENDS properly unless you are
explicitly defining a DISTRO_FEATURE for it.  But it will cause a bunch
of stuff to be rebuilt since PACKAGECONFIG is getting updated and
signatures will be invalidated.  Not a big deal, but still not quite
what you're hoping to accomplish, I think.

I was just testing a few other things on my current patch queue and have
a patch for this already, so I'm going to drop this patch for now.

Just for future reference, too, @base_contains is on the way out, you
should use @bb.utils.contains instead.

-J.

> +PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03 --enable-ais-plm,,openhpi"
>  PACKAGECONFIG[systemd] = "--enable-systemd-daemon"
>  
>  do_configure_prepend () {
> -- 
> 1.8.4.2
> 
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

  reply	other threads:[~2015-07-17 14:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25  3:23 [meta-networking][PATCH] opensaf: Fix warning and add systemd service files Li xin
2015-06-25 14:56 ` Martin Jansa
2015-07-16 18:52 ` Joe MacDonald
2015-07-17  2:45   ` [meta-networking][PATCH] opensaf: Add PACKAGECONFIG for openhpi Li xin
2015-07-17 14:15     ` Joe MacDonald [this message]
2015-07-20  1:42       ` Li, Xin

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=20150717141526.GA3901@mentor.com \
    --to=joe_macdonald@mentor.com \
    --cc=lixin.fnst@cn.fujitsu.com \
    --cc=openembedded-devel@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.