<div dir="ltr">+KERNEL_CONFIG_COMMAND ?= &quot;oe_runmake_call -C ${S} CC=&quot;${KERNEL_CC}&quot; O=${B} olddefconfig || yes &#39;&#39; | oe_runmake -C ${S} O=${B} CC=&quot;${KERNEL_CC}&quot; oldnoconfig&quot; <div><br></div><div>It&#39;s the 2 apostrophes after &quot;yes&quot;, which look like double quotes in the font used in gmail, sorry.</div><div><div> <br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 7:58 PM Bruce Ashfield &lt;<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018-10-30 2:51 PM, Martin Jansa wrote:<br>
  Agreed with Andre, also the quotes in new version don&#39;t match, which<br>
&gt; makes me wonder how well this was actually tested.<br>
<br>
Where are you seeing the non matching quotes ? The CC=&quot;&quot; blocks<br>
have been there for a while, and haven&#39;t caused any issues.<br>
Other than that, I&#39;m seeing matched &quot;&quot;, &#39;&#39; and the entire command<br>
wrapped in &quot;&quot;.<br>
<br>
It was tested by running configure, definitely worked here.<br>
<br>
The &#39;yes&#39; in the pipeline is just in case there is some kernel<br>
somewhere with a patch, and the pipeline could stall. Since it<br>
is the last option in the compound statement, I definitely wanted<br>
it to complete.<br>
<br>
I can drop the yes, but I&#39;m pretty sure the extra overhead wouldn&#39;t<br>
have harmed anyone.<br>
<br>
&gt; <br>
&gt; Using apostrophes inside quoted string value would make it easier to see <br>
&gt; that there is extra &quot; after the useless yes call.<br>
<br>
I&#39;m still not seeing the extra quote.<br>
<br>
Bruce<br>
<br>
&gt; <br>
&gt; On Tue, Oct 30, 2018 at 6:31 PM Andre McCurdy &lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a> <br>
&gt; &lt;mailto:<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;     On Tue, Oct 30, 2018 at 10:17 AM Bruce Ashfield<br>
&gt;     &lt;<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a> &lt;mailto:<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>&gt;&gt;<br>
&gt;     wrote:<br>
&gt;      &gt;<br>
&gt;      &gt; On 10/30/18 1:02 PM, Andre McCurdy wrote:<br>
&gt;      &gt; &gt; On Mon, Oct 29, 2018 at 8:39 PM Bruce Ashfield<br>
&gt;      &gt; &gt; &lt;<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a><br>
&gt;     &lt;mailto:<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>&gt;&gt; wrote:<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; As was warned by commit 312ee68752fa [kconfig: announce removal of<br>
&gt;      &gt; &gt;&gt; oldnoconfig if used], oldnoconfig has been removed from the<br>
&gt;     4.20 kernel.<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; So we switch our default mode to olddefconfig.<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; commit fb16d8912 [kconfig: replace &#39;oldnoconfig&#39; with<br>
&gt;     &#39;olddefconfig&#39;,<br>
&gt;      &gt; &gt;&gt; and keep the old name as an alias] introduced olddefconfig in<br>
&gt;     the 3.10<br>
&gt;      &gt; &gt;&gt; kernel, we shuffle oldnoconfig to the fallback target.<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; The fallback mode allows kernels between 3.10 and the<br>
&gt;     currently listed<br>
&gt;      &gt; &gt;&gt; oldest kernel of 3.2 to continue to configure.<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; Signed-off-by: Bruce Ashfield &lt;<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a><br>
&gt;     &lt;mailto:<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>&gt;&gt;<br>
&gt;      &gt; &gt;&gt; ---<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; v2: Tweaked to add a fallback mode as suggested by Andre McCurdy<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; Not for the release, just wanted to get this in the queue for<br>
&gt;      &gt; &gt;&gt; when master reopens so we&#39;ll be ready for 4.20+ kernel versions<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; Bruce<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt;   meta/classes/kernel.bbclass | 2 +-<br>
&gt;      &gt; &gt;&gt;   1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; diff --git a/meta/classes/kernel.bbclass<br>
&gt;     b/meta/classes/kernel.bbclass<br>
&gt;      &gt; &gt;&gt; index e04d2fe00434..8fe207165ae8 100644<br>
&gt;      &gt; &gt;&gt; --- a/meta/classes/kernel.bbclass<br>
&gt;      &gt; &gt;&gt; +++ b/meta/classes/kernel.bbclass<br>
&gt;      &gt; &gt;&gt; @@ -492,7 +492,7 @@ sysroot_stage_all () {<br>
&gt;      &gt; &gt;&gt;          :<br>
&gt;      &gt; &gt;&gt;   }<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; -KERNEL_CONFIG_COMMAND ?= &quot;oe_runmake_call -C ${S}<br>
&gt;     CC=&quot;${KERNEL_CC}&quot; O=${B} oldnoconfig&quot;<br>
&gt;      &gt; &gt;&gt; +KERNEL_CONFIG_COMMAND ?= &quot;oe_runmake_call -C ${S}<br>
&gt;     CC=&quot;${KERNEL_CC}&quot; O=${B} olddefconfig || yes &#39;&#39; | oe_runmake -C ${S}<br>
&gt;     O=${B} CC=&quot;${KERNEL_CC}&quot; oldnoconfig&quot;<br>
&gt;      &gt; &gt;<br>
&gt;      &gt; &gt; There&#39;s no &quot;yes&quot; needed with oldnoconfig. The new fallback<br>
&gt;     should just<br>
&gt;      &gt; &gt; be the existing default command.<br>
&gt;      &gt;<br>
&gt;      &gt; *shrug*<br>
&gt;      &gt;<br>
&gt;      &gt; I&#39;ll leave this as is, since it works as tested. Feel free to<br>
&gt;      &gt; send followups.<br>
&gt; <br>
&gt;     &quot;make oldnoconfig&quot; without the &quot;yes&quot; has been well tested for the past<br>
&gt;     few OE releases so it&#39;s just odd you decided to change it. Why did<br>
&gt;     you?<br>
&gt; <br>
&gt;      &gt; &gt;&gt;   python check_oldest_kernel() {<br>
&gt;      &gt; &gt;&gt;       oldest_kernel = d.getVar(&#39;OLDEST_KERNEL&#39;)<br>
&gt;      &gt; &gt;&gt; --<br>
&gt;      &gt; &gt;&gt; 2.5.0<br>
&gt;      &gt; &gt;&gt;<br>
&gt;      &gt; &gt;&gt; --<br>
&gt;      &gt; &gt;&gt; _______________________________________________<br>
&gt;      &gt; &gt;&gt; Openembedded-core mailing list<br>
&gt;      &gt; &gt;&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a>&gt;<br>
&gt;      &gt; &gt;&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
&gt;      &gt;<br>
&gt;     -- <br>
&gt;     _______________________________________________<br>
&gt;     Openembedded-core mailing list<br>
&gt;     <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a>&gt;<br>
&gt;     <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
&gt; <br>
<br>
</blockquote></div>