[OE-core] [PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for cortexa7

Andre McCurdy armccurdy at gmail.com
Wed Mar 13 19:56:10 UTC 2019


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?

> 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