From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/5] meta-environment: change package name to include MACHINE
Date: Tue, 10 Sep 2013 22:52:36 +0100 [thread overview]
Message-ID: <1378849956.3484.169.camel@ted> (raw)
In-Reply-To: <20130910184442.GT11500@jama>
On Tue, 2013-09-10 at 20:44 +0200, Martin Jansa wrote:
> On Tue, Sep 10, 2013 at 06:10:46PM +0300, Laurentiu Palcu wrote:
> > Currently, the package name contains just the TRANSLATED_TARGET_ARCH.
> > When compiling the toolchain for two machines, belonging to the same
> > architecture (for example: qemuarm and beagleboard), this package gets
> > overwritten and adt-installer repo will contain just one
> > meta-environment package... This leads to situations like installing the
> > toolchain for qemuarm and end up with meta-environment package with
> > beagleboard cpu options.
> >
> > [YOCTO #4783]
> >
> > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> > ---
> > meta/recipes-core/meta/meta-environment.bb | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
> > index 9731300..3a71a9b 100644
> > --- a/meta/recipes-core/meta/meta-environment.bb
> > +++ b/meta/recipes-core/meta/meta-environment.bb
> > @@ -37,7 +37,7 @@ do_install() {
> > install -m 0644 -t ${D}/${SDKPATH} ${SDK_OUTPUT}/${SDKPATH}/*
> > }
> >
> > -PN = "meta-environment-${TRANSLATED_TARGET_ARCH}"
> > +PN = "meta-environment-${MACHINE}"
>
> You should probably change PACKAGE_ARCH as well.
No, this isn't the correct thing to do in this case. The PN itself is
machine specific so the multiple packages can coexist in one nativesdk
arch.
Cheers,
Richard
next prev parent reply other threads:[~2013-09-10 21:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 15:10 [PATCH 0/5] Some ADT related refactoring Laurentiu Palcu
2013-09-10 15:10 ` [PATCH 1/5] meta-environment: change package name to include MACHINE Laurentiu Palcu
2013-09-10 18:44 ` Martin Jansa
2013-09-10 21:52 ` Richard Purdie [this message]
2013-09-10 15:10 ` [PATCH 2/5] packagegroup-cross-canadian: " Laurentiu Palcu
2013-09-10 15:10 ` [PATCH 3/5] populate_sdk_base.bbclass: select the proper cross-canadian package Laurentiu Palcu
2013-09-10 15:10 ` [PATCH 4/5] meta-toolchain-qt: include " Laurentiu Palcu
2013-09-10 15:10 ` [PATCH 5/5] adt-installer: allow installation of other machines Laurentiu Palcu
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=1378849956.3484.169.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=martin.jansa@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox