On Wed, Nov 28, 2012 at 9:16 AM, Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
On Tue, Nov 27, 2012 at 6:44 PM, JD <jd1008@xxxxxxxxx> wrote:The rpmbuild interface does not provide the user a way
to go through the entire config options before proceeding
to build the kernel. If it does, I would really like to know
how it's done.I agree it's not intuitive but check and see if this is enough granularity of control (from the spec file):# The following build options are enabled by default.# Use either --without <opt> in your rpmbuild command or force values# to 0 in here to disable them.## standard kernel%define with_up %{?_without_up: 0} %{?!_without_up: 1}# kernel-smp (only valid for ppc 32-bit)%define with_smp %{?_without_smp: 0} %{?!_without_smp: 1}# kernel-PAE (only valid for i686)%define with_pae %{?_without_pae: 0} %{?!_without_pae: 1}# kernel-debug%define with_debug %{?_without_debug: 0} %{?!_without_debug: 1}# kernel-doc%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}# kernel-headers%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}# perf%define with_perf %{?_without_perf: 0} %{?!_without_perf: 1}# tools%define with_tools %{?_without_tools: 0} %{?!_without_tools: 1}# kernel-debuginfo%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}---end---So you can do a rpmbuild -bb --without <option sans "with_">HTH,Richard
Thank you Richard.
I do know about these rpmbuild options, which, when turned off (--without xx)
does shorten the build time. But it is not enough. Building bazillions of useless
(with regards to the user's HW platform) driver, enabling features by default
which the user might not want, is what I would like to have a way for the user
to have the fine grained configuration ability.
I do know about these rpmbuild options, which, when turned off (--without xx)
does shorten the build time. But it is not enough. Building bazillions of useless
(with regards to the user's HW platform) driver, enabling features by default
which the user might not want, is what I would like to have a way for the user
to have the fine grained configuration ability.
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org