| Submitter | Khem Raj |
|---|---|
| Date | June 2, 2011, 7:45 p.m. |
| Message ID | <1307043926-18177-1-git-send-email-raj.khem@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/5341/ |
| State | New, archived |
| Headers | show |
Comments
On Thu, 2011-06-02 at 12:45 -0700, Khem Raj wrote: > +BASE_PACKAGE_ARCH = "all" > PACKAGE_ARCH = "all" Is it necessary to define both of those? bitbake.conf does: PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" so it seems like, if setting B_P_A is the right thing to do, there should be no need to set PACKAGE_ARCH as well. I don't understand the semantics of those two variables well enough to say whether setting BASE_PACKAGE_ARCH here is actually the right thing or not. Is there any documentation anywhere which describes what exactly the relation is meant to be between B_P_A and P_A, and when it's appropriate to set each of them? p.
On 06/02/2011 12:45 PM, Khem Raj wrote: > If not overridden it gets the value which is for target recipes > usually defined in machine tune files > > Signed-off-by: Khem Raj<raj.khem@gmail.com> > --- > meta/classes/allarch.bbclass | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass > index 26fca70..e3ac392 100644 > --- a/meta/classes/allarch.bbclass > +++ b/meta/classes/allarch.bbclass > @@ -2,6 +2,7 @@ > # This class is used for architecture independent recipes/data files (usally scripts) > # > > +BASE_PACKAGE_ARCH = "all" > PACKAGE_ARCH = "all" > > # No need for virtual/libc or a cross compiler Merged into OE-Core Thanks Sau!
Patch
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 26fca70..e3ac392 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -2,6 +2,7 @@ # This class is used for architecture independent recipes/data files (usally scripts) # +BASE_PACKAGE_ARCH = "all" PACKAGE_ARCH = "all" # No need for virtual/libc or a cross compiler
If not overridden it gets the value which is for target recipes usually defined in machine tune files Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/classes/allarch.bbclass | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)