[meta-freescale] [meta-fsl-arm][PATCH] imx-base.inc: on thumb builds, add MACHINE_SOCARCH arm feed

Otavio Salvador otavio at ossystems.com.br
Thu Mar 26 08:46:38 PDT 2015


On Mon, Mar 23, 2015 at 5:28 AM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
> This ensures that all MACHINE_SOCARCH feeds are part of PACKAGE_EXTRA_ARCHS.
>
> oe-core now puts packages into an arm feed dir when a recipe forces the
> ARM instruction set on a build configured to default to thumb.
> http://cgit.openembedded.org/openembedded-core/commit/?id=3e760031f91fb87c3e2f62b77a117eb41164f259
>
> This is true also for packages in MACHINE_SOCARCH, i.e. we get in deploy/ipk for
> an angstrom based build:
> armv7ahf-vfp-neon-mx6qdl  armv7at2hf-vfp-neon-mx6qdl
> so we must put both into PACKAGE_EXTRA_ARCHS.
>
> I guess that in theorie the opposite would also be true. If a recipe explicitely
> sets thumb in build configured for arm one would need to add the thumb feed.
> However in the layers I have installed I could not find such a recipe, let alone
> a recipe which would be put in MACHINE_SOCARCH.
>
> Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>

The fix should be done at the dynamic soc-arch class. This shouldn't
be set here.

What do you think?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list