<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 11:02 AM Flavio Suligoi &lt;<a href="mailto:f.suligoi@asem.it">f.suligoi@asem.it</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 Bruce,<br>
<br>
&gt; Sometimes, for example in case of missed dependecies, after the<br>
&gt; execution of:<br>
&gt; <br>
&gt; merge_config.sh<br>
&gt; <br>
&gt; the resulting file &quot;.config&quot; can be empty.<br>
&gt; This is the reason why is necessary test it and, in case, display<br>
&gt; the &quot;Could not configure ...&quot; error message.<br>
&gt; <br>
&gt; This doesn&#39;t belong here. Auditing of the final .config is done in a separate task, and we could pickup that issue there.<br>
&gt; <br>
&gt; That being said, there are already checks for inputs that could result in something like this. How were you triggering this issue ? I&#39;d like to reproduce it here, and perhaps come up with a different solution.<br>
&gt; <br>
&gt; Bruce<br>
<br>
I encountered this problem of the empty .config when I integrated <br>
the kernel 4.19 in my custom meta-layer based on a poky &quot;rocko&quot; (2.4) version.<br>
<br>
The kernel 4.19 requires the following dependencies in the kernel recipe:<br>
<br>
do_kernel_configme[depends] += &quot;virtual/${TARGET_PREFIX}binutils:do_populate_sysroot&quot;<br>
do_kernel_configme[depends] += &quot;virtual/${TARGET_PREFIX}gcc:do_populate_sysroot&quot;<br>
do_kernel_configme[depends] += &quot;bc-native:do_populate_sysroot bison-native:do_populate_sysroot&quot;<br>
<br>
(in the thud version of poky these dependencies are already integrated in the<br>
kernel-yocto.bbclass, but not in rocko)<br>
<br>
Without these dependencies the merge_config.sh fails without any error messages,<br>
the distro build process proceeds, but the built kernel is completely wrong<br>
(no modules and only default config).<br>
<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Thanks for the info. I&#39;ll poke around a bit, and either queue these directly or do something</div><div class="gmail_default" style="font-size:small">similar in the kconfig audit step.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Bruce</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
For this reason I added the additional error log:<br>
<br>
${meta_dir}/cfg/merge_config_build-errors.log<br>
<br>
and the check for the empty .config<br>
<br>
Flavio<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end<br>- &quot;Use the force Harry&quot; - Gandalf, Star Trek II<br><br></div></div>