> -----Original Message----- > From: Joe MacDonald [mailto:joe_macdon...@mentor.com] > Sent: Friday, July 17, 2015 10:15 PM > To: Li, Xin/李 欣 > Cc: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-networking][PATCH] opensaf: Add PACKAGECONFIG for > openhpi > > 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.f...@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.
I got it. :) Thank you very much. Regards, Li -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel