From: "Puustinen, Ismo" <ismo.puustinen@intel.com>
To: "peter.kjellerstedt@axis.com" <peter.kjellerstedt@axis.com>,
"openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH] libdevmapper: enable native support.
Date: Wed, 3 May 2017 12:26:14 +0000 [thread overview]
Message-ID: <1493814372.18488.2.camel@intel.com> (raw)
In-Reply-To: <4763ed6bb356444fafd6a0c60df2f7c7@XBOX02.axis.com>
On Wed, 2017-05-03 at 11:26 +0000, Peter Kjellerstedt wrote:
> > -----Original Message-----
> > From: openembedded-devel-bounces@lists.openembedded.org
> > [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> > Behalf Of
> > Ismo Puustinen
> > Sent: den 3 maj 2017 13:00
> > To: openembedded-devel@lists.openembedded.org
> > Subject: [oe] [PATCH] libdevmapper: enable native support.
> >
> > Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
> > ---
> > meta-oe/recipes-support/lvm2/libdevmapper_2.02.166.bb | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.166.bb
> > b/meta-oe/recipes-support/lvm2/libdevmapper_2.02.166.bb
> > index 462e8fb..37c0a97 100644
> > --- a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.166.bb
> > +++ b/meta-oe/recipes-support/lvm2/libdevmapper_2.02.166.bb
> > @@ -28,4 +28,6 @@ do_install_append() {
> > rm -rf ${D}${datadir}
> > }
> >
> > -RRECOMMENDS_${PN} += "lvm2-udevrules"
> > +RRECOMMENDS_${PN}_class-target += "lvm2-udevrules"
>
> That should be either:
>
> RRECOMMENDS_${PN}_append_class-target = " lvm2-udevrules"
>
> or:
>
> RRECOMMENDS_${PN}_class-target = "lvm2-udevrules"
>
> Using FOO_class-target += "..." gives the impression that it adds to
> FOO, but it does not, it adds to FOO_class-target which then
> completely
> replaces FOO for target builds. E.g., with the following two
> definitions:
>
> FOO = "foo"
> FOO_class-target += "bar"
>
> then ${FOO} will be "bar" for target builds and "foo" for all other
> builds. It will never be "foo bar".
>
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.9.3
>
> //Peter
Good point. I'll prepare a second version of the patch. I found it bit
surprising that RRECOMMENDS is even a thing for native recipes...
Ismo
prev parent reply other threads:[~2017-05-03 12:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 10:59 [PATCH] libdevmapper: enable native support Ismo Puustinen
2017-05-03 11:26 ` Peter Kjellerstedt
2017-05-03 12:26 ` Puustinen, Ismo [this message]
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=1493814372.18488.2.camel@intel.com \
--to=ismo.puustinen@intel.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
/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.