[OE-core] [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES

Otavio Salvador otavio at ossystems.com.br
Mon Jul 29 22:35:23 UTC 2013


Hello Eric and Rogerio,

On Mon, Jul 29, 2013 at 7:26 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> This allow the addition and removal of distro features easily. To add
> a feature, use:
>
>  EXTRA_DISTRO_FEATURES += "wayland"
>
> and to remove, use '~' prefix, as:
>
>  EXTRA_DISTRO_FEATURES += "~x11"
>
> This code has been mostly copied from Mentor Graphics public layer but
> changed the variable name for a more descriptive name. The original
> code can be seen at user_feature.bbclass at:
>
>  http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

I have submitted a patch for OE-Core to address this hardness to
add/remove distro features. It is based in user_features.bbclass from
Metro Graphics but I changed it to fit better in base.bbclass. Please
give it a try and comment if you have a better alternative solution
for this problem.

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



More information about the Openembedded-core mailing list