<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 3, 2020 at 4:32 AM Peter Kjellerstedt &lt;<a href="mailto:peter.kjellerstedt@axis.com">peter.kjellerstedt@axis.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-bounces@lists.openembedded.org</a> &lt;openembedded-core-<br>
&gt; <a href="mailto:bounces@lists.openembedded.org" target="_blank">bounces@lists.openembedded.org</a>&gt; On Behalf Of <a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a><br>
&gt; Sent: den 2 mars 2020 13:41<br>
&gt; To: <a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.openembedded.org</a><br>
&gt; Subject: [OE-core] how to cleanly centralize a zillion BBCLASSEXTEND +=<br>
&gt; &quot;nativesdk&quot; settings?<br>
&gt; <br>
&gt; layer i&#39;m currently perusing has many, many bbappend files, of which<br>
&gt; quite a number are nothing more than the single line:<br>
&gt; <br>
&gt;    BBCLASSEXTEND += &quot;nativesdk&quot;<br>
&gt; <br>
&gt; literally, at least a hundred append files are like that. so rather<br>
&gt; than clutter up the layer with all those trivial .bbappend files,<br>
&gt; can one cram all that into a single .conf file? as i read it, can i<br>
&gt; do something like:<br>
&gt; <br>
&gt;    BBCLASSEXTEND_append_pn-pkg1 = &quot; nativesdk&quot;<br>
&gt;    BBCLASSEXTEND_append_pn-pkg2 = &quot; nativesdk&quot;<br>
&gt;    ... and on and on ...<br>
&gt; <br>
&gt; and toss all that into a distro.conf file or something?<br>
&gt; <br>
&gt;    and even if that works, is it considered good coding style?<br>
&gt; <br>
&gt; rday<br>
<br>
Sounds perfectly fine. We do something similar, but in our case we need <br>
to add &quot;native&quot; to BBCLASSEXTEND for a whole bunch of recipes.<br>
</blockquote><div dir="auto"><br></div><div dir="auto">Should patches be sent to add native and nativesdk? Drop the technical debt by upstreaming...</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
//Peter<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>