<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 6:41 AM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
one more question about fragments which i'm fairly sure i know the<br>
answer to, but will be embarrassed about if i'm wrong.<br>
<br>
if i want to set a kernel option in a fragment, i'm fairly certain i<br>
need to *explicitly* set all options it depends on, correct?<br>
otherwise, that option is left unselected.<br></blockquote><div><br></div><div>Correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
is there any warning in a log file that mentions that happening?<br>
<br></blockquote><div><br></div><div>The kconfig audit will indicate that the value didn't make it into the final .config, and</div><div>if the option has been tagged "hardware", then that warning is dumped to the screen</div><div>for the developer to see.</div><div><br></div><div>More audit information is available within the kernel build itself, and IIRC that is</div><div>covered in the more detailed guides.</div><div><br></div><div>Right now, it can't tell you what was missing .. but there's no a library that I can</div><div>potentially use to get that information, and I've raised an enhancement bug for 2.2</div><div>to not only output why an option didn't make they final .config .. but why it was</div><div>dropped.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rday<br>
<br>
p.s. oh, and i think someone mentioned this earlier ... what happens<br>
if i explicitly set one option, then explicitly "not set" another<br>
option that is "select"ed by that first option? who wins?<br>
<br></blockquote><div><br></div><div>Last through the gate. Ordering matters. But the "redefinition" of the value</div><div>is logged in the audit output</div><div><br></div><div>Bruce</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok, back to work ...<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
========================================================================<br>
Robert P. J. Day Ottawa, Ontario, CANADA<br>
<a href="http://crashcourse.ca" rel="noreferrer" target="_blank">http://crashcourse.ca</a><br>
<br>
Twitter: <a href="http://twitter.com/rpjday" rel="noreferrer" target="_blank">http://twitter.com/rpjday</a><br>
LinkedIn: <a href="http://ca.linkedin.com/in/rpjday" rel="noreferrer" target="_blank">http://ca.linkedin.com/in/rpjday</a><br>
========================================================================<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"</div>
</div></div>