<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 9:16 AM, Richard Shaw <span dir="ltr"><<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Nov 27, 2012 at 6:44 PM, JD <span dir="ltr"><<a href="mailto:jd1008@gmail.com" target="_blank">jd1008@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The rpmbuild interface does not provide the user a way<br>
to go through the entire config options before proceeding<br>
to build the kernel. If it does, I would really like to know<br>
how it's done.<br></blockquote><div><br></div><div>I agree it's not intuitive but check and see if this is enough granularity of control (from the spec file):</div><div><br></div><div># The following build options are enabled by default.</div>
<div># Use either --without <opt> in your rpmbuild command or force values</div><div># to 0 in here to disable them.</div><div>#</div><div># standard kernel</div><div>%define with_up %{?_without_up: 0} %{?!_without_up: 1}</div>
<div># kernel-smp (only valid for ppc 32-bit)</div><div>%define with_smp %{?_without_smp: 0} %{?!_without_smp: 1}</div><div># kernel-PAE (only valid for i686)</div><div>%define with_pae %{?_without_pae: 0} %{?!_without_pae: 1}</div>
<div># kernel-debug</div><div>%define with_debug %{?_without_debug: 0} %{?!_without_debug: 1}</div><div># kernel-doc</div><div>%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}</div>
<div>
# kernel-headers</div><div>%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}</div><div># perf</div><div>%define with_perf %{?_without_perf: 0} %{?!_without_perf: 1}</div><div># tools</div>
<div>%define with_tools %{?_without_tools: 0} %{?!_without_tools: 1}</div><div># kernel-debuginfo</div><div>%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} </div><div>---end---</div>
<div><br></div><div>So you can do a rpmbuild -bb --without <option sans "with_"></div><div><br></div><div>HTH,</div><div>Richard</div></div><br></blockquote><div>Thank you Richard.<br>I do know about these rpmbuild options, which, when turned off (--without xx)<br>
does shorten the build time. But it is not enough. Building bazillions of useless<br>(with regards to the user's HW platform) driver, enabling features by default<br>which the user might not want, is what I would like to have a way for the user<br>
to have the fine grained configuration ability.<br> <br></div></div>