mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Suggest make localmodconfig for kernel
This is less generic than defconfig, and you can then tell not to tweak options...
This commit is contained in:
parent
d0a9bda4e6
commit
de679165f9
@ -98,15 +98,25 @@
|
|||||||
|
|
||||||
<caution>
|
<caution>
|
||||||
<para>A good starting place for setting up the kernel configuration is to
|
<para>A good starting place for setting up the kernel configuration is to
|
||||||
run <command>make defconfig</command>. This will set the base
|
run <command>make localmodconfig</command>. If the host kernel version
|
||||||
configuration to a good state that takes your current system architecture
|
is not too different from the version of the kernel you are building,
|
||||||
into account.</para>
|
this will set the base configuration to a good state similar to what
|
||||||
|
the host uses. Another possibility is to use <command>make
|
||||||
|
localyesconfig</command>, which does the same except everything is built
|
||||||
|
into the kernel.</para>
|
||||||
|
|
||||||
<para>Do not disable any option enabled by <command>make
|
<para>Do not disable any option enabled by <command>make
|
||||||
defconfig</command> unless the following note explicitly makes it
|
localmodconfig</command> unless the following notes explicitly make it
|
||||||
disabled or you really know what you are doing.</para>
|
disabled or you really know what you are doing.</para>
|
||||||
</caution>
|
</caution>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>Another possibility is to run <command>make defconfig</command>,
|
||||||
|
which creates a more generic configuration for your architecture. You
|
||||||
|
may then have to disable drivers for hardware you do not have if
|
||||||
|
you want to reduce the kernel size.</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>Be sure to enable/disable/set the following features or the system might
|
<para>Be sure to enable/disable/set the following features or the system might
|
||||||
not work correctly or boot at all:</para>
|
not work correctly or boot at all:</para>
|
||||||
@ -312,7 +322,7 @@ Device Drivers --->
|
|||||||
<para>Support running the interrupt controller of 64-bit x86
|
<para>Support running the interrupt controller of 64-bit x86
|
||||||
processors in x2APIC mode. x2APIC may be enabled by firmware on
|
processors in x2APIC mode. x2APIC may be enabled by firmware on
|
||||||
64-bit x86 systems, and a kernel without this option enabled will
|
64-bit x86 systems, and a kernel without this option enabled will
|
||||||
panic on boot if x2APIC is enabled by firmware. This option has
|
panic on boot if x2APIC is enabled by firmware. This option
|
||||||
has no effect, but also does no harm if x2APIC is disabled by the
|
has no effect, but also does no harm if x2APIC is disabled by the
|
||||||
firmware.</para>
|
firmware.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user