<div dir="ltr"><div>The way I read kernel.bbclass, you need to set CONFIG_MODULES=n in your configuration through some mechanism; then they&#39;ll be skipped altogether.</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 16 Mar 2020 at 10:06, Jacob Kroon &lt;<a href="mailto:jacob.kroon@gmail.com">jacob.kroon@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I&#39;m using the linux-yocto kernel recipes together with additional kernel <br>
config fragments that I append in our custom distro layer. All required <br>
functionality is built into the kernel, so we don&#39;t install any kernel <br>
modules on target.<br>
<br>
What would be the correct way to save compilation time and skip <br>
building/packaging the kernel modules ? Do I need to provide a custom <br>
defconfig that explicitly disables all modules ?<br>
<br>
I can monkey-patch oe-core with the attached patch in order to achieve <br>
that goal, but I&#39;m guessing something like this wouldn&#39;t be suitable for <br>
upstreaming ?<br>
<br>
Cheers,<br>
Jacob<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>