<p dir="ltr"></p>
<p dir="ltr">On Aug 10, 2016 1:59 AM, &quot;Richard Purdie&quot; &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt;<br>
&gt; On Tue, 2016-08-09 at 12:27 -0700, Khem Raj wrote:<br>
&gt; &gt; &gt; On Aug 9, 2016, at 5:08 AM, Mike Looijmans &lt;<a href="mailto:mike.looijmans@topic.nl">mike.looijmans@topic.nl</a><br>
&gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;ve been adding &quot;lzop-native&quot; to a lot of kernel recipes because<br>
&gt; &gt; &gt; you also need it when generating an LZO compressed kernel (I like<br>
&gt; &gt; &gt; my boot time to be under 1 second).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; It&#39;s a small dependency which is hard to automatically figure out,<br>
&gt; &gt; &gt; since there are a number of ways to trigger it (we just found two).<br>
&gt; &gt; &gt; I would welcome this patch very much, and I don&#39;t think many will<br>
&gt; &gt; &gt; suffer…<br>
&gt; &gt;<br>
&gt; &gt; From linux.inc days there is a python snippet which can do this<br>
&gt; &gt; conditionally e.g. see<br>
&gt; &gt;<br>
&gt; &gt; <a href="https://github.com/kraj/meta-raspberrypi/blob/master/recipes-kernel/l">https://github.com/kraj/meta-raspberrypi/blob/master/recipes-kernel/l</a><br>
&gt; &gt; inux/linux-rpi.inc#L121<br>
&gt;<br>
&gt; Which is fine if you have a prebuild defconfig file however in many<br>
&gt; cases we don&#39;t have that :(<br>
&gt;</p>
<p dir="ltr">Thats right perhaps dependency could be conputed after configure task and added to say compile task</p>
<p dir="ltr">&gt; Cheers,<br>
&gt;<br>
&gt; Richard<br></p>