[meta-freescale] [meta-fsl-arm PATCH v2 00/16] Machine overrides extender - reduce code duplication

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Sep 2 13:11:51 PDT 2016


On Fri, Sep 2, 2016 at 4:56 PM, Tom Hochstein <tom.hochstein at nxp.com> wrote:
>> From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br]
>> Sent: Friday, September 02, 2016 1:55 PM
>
>> The MACHINE_FEATURES including that kind of information will have a
>> huge impact on the number of machine specific package. In summary we
>> would not be able to share the binaries across different machines of
>> same SoC. Currently we share the Q, DL binaries as they are binary
>> compatible however if this could change on the board we would need to
>> make they are machine specific (Qt, Chromium, GStreamer, ...)
>
> Not sure I understand. Those recipes work today across different machines, and it seems like using MACHINE_FEATURES doesn't change that at all. Each binary will vary only because of different machine features, so if Q and DL have the same features, the binary will still be compatible. Do I misunderstand how this works?

Yes; see the packages generated and how we enable the MACHINE_SOCARCH;
it shares binaries across same SoC families[1]

1. https://github.com/Freescale/meta-fsl-arm/blob/master/conf/machine/include/imx-base.inc#L53

So what would happens is that all recipes we have on -mx6qdl would
change and be MACHINE_ARCH. This is a bad side effect.

-- 
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