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

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Sep 5 10:18:23 PDT 2016


On Mon, Sep 5, 2016 at 1:37 PM, Tom Hochstein <tom.hochstein at nxp.com> wrote:
> To express this succinctly: MACHINE_FEATURES = capability, DISTRO_FEATURES = enablement, and COMBINED_FEATURES = capability and enablement. This is how the example should be implemented:
>
> MACHINE_FEATURES        - contains imxgpu3d for Machine A and Machine B
> DISTRO_FEATURES - contains imxgpu3d for Machine A only
> COMBINED_FEATURES       - contains imxgpu3d for Machine A only

I know how this works BUT people assumes machine features are to be
enabled/disabled on machine basis, that is the main reason I did not
use it.

The way I designed it, the extender is applied on the BSP level so it
provides the lift of features the SoC supports. If you want to change
something in a recipe or so, it will be applied globally and then
making it harder for people to make a frankenstein.

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