[oe] [meta-oe][PATCH] ne10: set NE10_TARGET_ARCH with an override instead of anonymous python

Khem Raj raj.khem at gmail.com
Fri Apr 26 17:35:18 UTC 2019


On Thu, Apr 25, 2019 at 10:21 PM Adrian Bunk <bunk at stusta.de> wrote:
>
> On Wed, Apr 24, 2019 at 07:00:38PM +0000, Martin Jansa wrote:
> > * set COMPATIBLE_MACHINE to (^$) to prevent building it for any other
> >   architectures than armv7a and aarch64
> > * with new arm tune files it's easy to have armv7a in OVERRIDES even
> >   when there isn't armv7a in TUNE_FEATURES:
> >   meta/conf/machine/include/tune-cortexa9.inc:7
> >      "${@bb.utils.contains('TUNE_FEATURES', 'cortexa9', 'armv7a:', '',d)}"
> >   in cases like this COMPATIBLE_MACHINE was satisfied thanks to the
> >   armv7a OVERRIDE, but then the anonymous python was failing with:
> >   ne10 was skipped: Incompatible with archs other than armv7 and aarch64
> >...
>
> How does this handle Cortex A9 SoCs without NEON support?

this is a valid concern although rare but this combination is out
there ( tegra2 )
and ne10 needs neon, so probably its better to check for neon in tune features
 than anything else first.


More information about the Openembedded-devel mailing list