[OE-core] [PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for cortexa7
Mark Asselstine
mark.asselstine at windriver.com
Wed Mar 13 20:03:32 UTC 2019
On Wednesday, March 13, 2019 3:56:10 PM EDT Andre McCurdy wrote:
> On Wed, Mar 13, 2019 at 10:57 AM Mark Asselstine
>
> <mark.asselstine at windriver.com> wrote:
> > The cortexa7 tunings use 'cortexa7' in their tunings and do not
> > include 'arm7' so we need to look for both when setting TARGET_GOARM.
>
> Is cortexa7 a special case? Or will the same issue be there for
> cortexa5, cortexa9, cortexa15, etc?
Damn, was too fucused on the 1/2 patch of this RR I had my blinders on. Yes I
should be looking for cortexa* as I believe they all fall in to the "7"
bucket. I will redo this and after we sort out 1/2 I will send a v2.
MarkA
>
> > Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> > ---
> >
> > meta/classes/goarch.bbclass | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
> > index 39fea5e..077c967 100644
> > --- a/meta/classes/goarch.bbclass
> > +++ b/meta/classes/goarch.bbclass
> >
> > @@ -74,7 +74,7 @@ def go_map_arch(a, d):
> > def go_map_arm(a, f, d):
> > import re
> >
> > if re.match('arm.*', a):
> > - if 'armv7' in f:
> >
> > + if 'armv7' or 'cortexa7' in f:
> > return '7'
> >
> > elif 'armv6' in f:
> > return '6'
> >
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list