[OE-core] how to cleanly centralize a zillion BBCLASSEXTEND += "nativesdk" settings?

Mikko.Rapeli at bmw.de Mikko.Rapeli at bmw.de
Tue Mar 10 12:26:47 UTC 2020


On Mon, Mar 02, 2020 at 07:40:35AM -0500, rpjday at crashcourse.ca wrote:
> layer i'm currently perusing has many, many bbappend files, of which
> quite a number are nothing more than the single line:
> 
>   BBCLASSEXTEND += "nativesdk"
> 
> literally, at least a hundred append files are like that. so rather
> than clutter up the layer with all those trivial .bbappend files,
> can one cram all that into a single .conf file? as i read it, can i
> do something like:
> 
>   BBCLASSEXTEND_append_pn-pkg1 = " nativesdk"
>   BBCLASSEXTEND_append_pn-pkg2 = " nativesdk"
>   ... and on and on ...
> 
> and toss all that into a distro.conf file or something?
> 
>   and even if that works, is it considered good coding style?

FWIW, I have the same problem. Solution until now is large number of
bbappends for adding native and nativesdk support.

-Mikko


More information about the Openembedded-core mailing list