diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-03-09 13:57:45 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-03-09 13:57:45 +0800 |
commit | 74d4d5e5ad089e626e5f75938849b93604b54093 (patch) | |
tree | c821cff58f131943c631ebddfa3cde001a84ec79 | |
parent | de679165f9a63ce94202d356abbae2b9a3bff5c3 (diff) |
Revert "Suggest make localmodconfig for kernel"
This reverts commit de679165f9a63ce94202d356abbae2b9a3bff5c3.
-rw-r--r-- | chapter10/kernel.xml | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 023aa32b9..7c64e0983 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -98,26 +98,16 @@ <caution> <para>A good starting place for setting up the kernel configuration is to - run <command>make localmodconfig</command>. If the host kernel version - is not too different from the version of the kernel you are building, - 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> + run <command>make defconfig</command>. This will set the base + configuration to a good state that takes your current system architecture + into account.</para> <para>Do not disable any option enabled by <command>make - localmodconfig</command> unless the following notes explicitly make it + defconfig</command> unless the following note explicitly makes it disabled or you really know what you are doing.</para> </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> <para>Be sure to enable/disable/set the following features or the system might not work correctly or boot at all:</para> @@ -322,7 +312,7 @@ Device Drivers ---> <para>Support running the interrupt controller of 64-bit x86 processors in x2APIC mode. x2APIC may be enabled by firmware on 64-bit x86 systems, and a kernel without this option enabled will - panic on boot if x2APIC is enabled by firmware. This option + panic on boot if x2APIC is enabled by firmware. This option has has no effect, but also does no harm if x2APIC is disabled by the firmware.</para> </listitem> |