📄 config.in
字号:
## For a description of the syntax of this configuration file,# see Documentation/kbuild/config-language.txt.#mainmenu_name "Linux Kernel Configuration"define_bool CONFIG_ARM ydefine_bool CONFIG_EISA ndefine_bool CONFIG_SBUS ndefine_bool CONFIG_MCA ndefine_bool CONFIG_UID16 ymainmenu_option next_commentcomment 'Code maturity level options'bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTALbool 'Prompt for obsolete code/drivers' CONFIG_OBSOLETEendmenumainmenu_option next_commentcomment 'Loadable module support'bool 'Enable loadable module support' CONFIG_MODULESif [ "$CONFIG_MODULES" = "y" ]; then bool ' Set version information on all module symbols' CONFIG_MODVERSIONS bool ' Kernel module loader' CONFIG_KMODfiendmenumainmenu_option next_commentcomment 'System Type'choice 'ARM system type' \ "Archimedes/A5000 CONFIG_ARCH_ARCA5K \ Cirrus-CL-PS7500FE CONFIG_ARCH_CLPS7500 \ Co-EBSA285 CONFIG_ARCH_CO285 \ EBSA-110 CONFIG_ARCH_EBSA110 \ FootBridge CONFIG_ARCH_FOOTBRIDGE \ Integrator CONFIG_ARCH_INTEGRATOR \ RiscPC CONFIG_ARCH_RPC \ SA1100-based CONFIG_ARCH_SA1100" RiscPC# the following are placeholders for when they are fully integrated# LinkUp-L7200 CONFIG_ARCH_L7200mainmenu_option next_commentcomment 'Archimedes/A5000 Implementations'if [ "$CONFIG_ARCH_ARCA5K" = "y" ]; then # These architectures will be combined. However, until this # is complete... Note that the ARC will take precidence over # A5K comment 'Archimedes/A5000 Implementations (select only ONE)' bool ' Archimedes' CONFIG_ARCH_ARC bool ' A5000' CONFIG_ARCH_A5Kfiendmenumainmenu_option next_commentcomment 'Footbridge Implementations'if [ "$CONFIG_ARCH_FOOTBRIDGE" = "y" ]; then bool ' CATS' CONFIG_ARCH_CATS bool ' Compaq Personal Server' CONFIG_ARCH_PERSONAL_SERVER bool ' EBSA285 (addin mode)' CONFIG_ARCH_EBSA285_ADDIN bool ' EBSA285 (host mode)' CONFIG_ARCH_EBSA285_HOST bool ' NetWinder' CONFIG_ARCH_NETWINDERfiendmenumainmenu_option next_commentcomment 'SA11x0 Implementations'if [ "$CONFIG_ARCH_SA1100" = "y" ]; then bool ' Assabet' CONFIG_SA1100_ASSABET if [ "$CONFIG_SA1100_ASSABET" = "y" ]; then bool ' Include support for Neponset' CONFIG_ASSABET_NEPONSET fi bool ' Brutus' CONFIG_SA1100_BRUTUS bool ' CerfBoard' CONFIG_SA1100_CERF bool ' Compaq iPAQ H3600 (Bitsy)' CONFIG_SA1100_BITSY# bool ' Empeg' CONFIG_SA1100_EMPEG# bool ' Itsy' CONFIG_SA1100_ITSY bool ' LART' CONFIG_SA1100_LART# bool ' PLEB' CONFIG_SA1100_PLEB bool ' ThinClient' CONFIG_SA1100_THINCLIENT bool ' GraphicsClient' CONFIG_SA1100_GRAPHICSCLIENT bool ' nanoEngine' CONFIG_SA1100_NANOENGINE bool ' Victor' CONFIG_SA1100_VICTOR# bool ' Tifon' CONFIG_SA1100_TIFON bool ' XP860' CONFIG_SA1100_XP860 # Someday, we'll support this as a general option. bool ' Load kernel using Angel Debug Monitor' CONFIG_ANGELBOOT # Determine if SA1111 support is required if [ "$CONFIG_ASSABET_NEPONSET" = "y" -o \ "$CONFIG_SA1100_XP860" = "y" ]; then define_bool CONFIG_SA1111 y fifiendmenu# Definitions to make life easierif [ "$CONFIG_ARCH_ARCA5K" = "y" -o \ "$CONFIG_ARCH_RPC" = "y" ]; then define_bool CONFIG_ARCH_ACORN yelse define_bool CONFIG_ARCH_ACORN nfi# see Documentation/arm/ConfigVars for a description of theseif [ "$CONFIG_ARCH_CO285" = "y" -o \ "$CONFIG_ARCH_FOOTBRIDGE" = "y" ]; then define_bool CONFIG_FOOTBRIDGE yelse define_bool CONFIG_FOOTBRIDGE nfiif [ "$CONFIG_ARCH_CATS" = "y" -o \ "$CONFIG_ARCH_EBSA285_HOST" = "y" -o \ "$CONFIG_ARCH_NETWINDER" = "y" -o \ "$CONFIG_ARCH_PERSONAL_SERVER" = "y" ]; then define_bool CONFIG_FOOTBRIDGE_HOST yelse define_bool CONFIG_FOOTBRIDGE_HOST nfiif [ "$CONFIG_ARCH_CO285" = "y" -o \ "$CONFIG_ARCH_EBSA285_ADDIN" = "y" ]; then define_bool CONFIG_FOOTBRIDGE_ADDIN yelse define_bool CONFIG_FOOTBRIDGE_ADDIN nfiif [ "$CONFIG_ARCH_EBSA285_HOST" = "y" -o \ "$CONFIG_ARCH_EBSA285_ADDIN" = "y" ]; then define_bool CONFIG_ARCH_EBSA285 yfi# Figure out whether this system uses 26-bit or 32-bit CPUs.if [ "$CONFIG_ARCH_ARCA5K" = "y" ]; then define_bool CONFIG_CPU_32 n define_bool CONFIG_CPU_26 y bool '2MB physical memory' CONFIG_PAGESIZE_16else define_bool CONFIG_CPU_32 y define_bool CONFIG_CPU_26 nficomment 'Processor Type'# Select CPU and optimisation dependent on architectureif [ "$CONFIG_ARCH_RPC" = "y" ]; then define_bool CONFIG_CPU_32v3 y bool 'Support ARM610 processor' CONFIG_CPU_ARM6 bool 'Support ARM710 processor' CONFIG_CPU_ARM7 bool 'Support StrongARM(R) SA-110 processor' CONFIG_CPU_SA110fiif [ "$CONFIG_ARCH_EBSA110" = "y" -o \ "$CONFIG_FOOTBRIDGE" = "y" -o \ "$CONFIG_ARCH_TBOX" = "y" -o \ "$CONFIG_ARCH_SHARK" = "y" -o \ "$CONFIG_ARCH_NEXUSPCI" = "y" ]; then define_bool CONFIG_CPU_32v4 y define_bool CONFIG_CPU_SA110 yfiif [ "$CONFIG_ARCH_CLPS7500" = "y" ]; then define_bool CONFIG_CPU_32v3 y define_bool CONFIG_CPU_ARM7 yfiif [ "$CONFIG_ARCH_L7200" = "y" ]; then define_bool CONFIG_CPU_32v4 y define_bool CONFIG_CPU_ARM720 yfiif [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then define_bool CONFIG_CPU_32v4 y bool 'Support ARM720 processor' CONFIG_CPU_ARM720 bool 'Support ARM920 processor' CONFIG_CPU_ARM920# bool 'Support ARM10 processor' CONFIG_CPU_ARM10fiif [ "$CONFIG_ARCH_SA1100" = "y" ]; then define_bool CONFIG_CPU_32v4 y define_bool CONFIG_CPU_SA1100 yfiif [ "$CONFIG_CPU_ARM920" = "y" ]; then bool ' ARM920 CPU idle' CONFIG_CPU_ARM920_CPU_IDLE bool ' ARM920 I-Cache on' CONFIG_CPU_ARM920_I_CACHE_ON bool ' ARM920 D-Cache on' CONFIG_CPU_ARM920_D_CACHE_ON if [ "$CONFIG_CPU_ARM920_D_CACHE_ON" = "y" ] ; then bool ' Force write through caches on ARM920' CONFIG_CPU_ARM920_WRITETHROUGH fifi#if [ "$CONFIG_CPU_ARM10" = "y" ]; then# bool ' ARM10 I-Cache on' CONFIG_CPU_ARM10_I_CACHE_ON# bool ' ARM10 D-Cache on' CONFIG_CPU_ARM10_D_CACHE_ON# if [ "$CONFIG_CPU_ARM10_D_CACHE_ON" = "y" ] ; then# bool ' Force write through caches on ARM10' CONFIG_CPU_ARM10_FORCE_WRITE_THROUGH# fi#fi# Select various configuration options depending on the machine typeif [ "$CONFIG_ARCH_SA1100" = "y" ]; then define_bool CONFIG_DISCONTIGMEM yelse define_bool CONFIG_DISCONTIGMEM nfiendmenumainmenu_option next_commentcomment 'General setup'# Now handle the bus typesif [ "$CONFIG_ARCH_NEXUSPCI" = "y" -o \ "$CONFIG_FOOTBRIDGE_HOST" = "y" ]; then define_bool CONFIG_PCI yelse if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then bool 'PCI support' CONFIG_PCI_INTEGRATOR define_bool CONFIG_PCI $CONFIG_PCI_INTEGRATOR else define_bool CONFIG_PCI n fifiif [ "$CONFIG_FOOTBRIDGE_HOST" = "y" -o \ "$CONFIG_ARCH_SHARK" = "y" ]; then define_bool CONFIG_ISA y define_bool CONFIG_ISA_DMA yelse define_bool CONFIG_ISA n define_bool CONFIG_ISA_DMA nfi# Do we have a PC-type keyboard in this architecture?if [ "$CONFIG_FOOTBRIDGE_HOST" = "y" ]; then define_bool CONFIG_PC_KEYB y define_bool CONFIG_PC_KEYMAP yfiif [ "$CONFIG_SA1100_ASSABET" = "y" ]; then define_bool CONFIG_PC_KEYMAP yfisource drivers/pci/Config.inbool 'Support hot-pluggable devices' CONFIG_HOTPLUGif [ "$CONFIG_HOTPLUG" = "y" ]; then source drivers/pcmcia/Config.inelse define_bool CONFIG_PCMCIA nfibool 'Networking support' CONFIG_NETbool 'System V IPC' CONFIG_SYSVIPCbool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCTbool 'Sysctl support' CONFIG_SYSCTLtristate 'NWFPE math emulation' CONFIG_NWFPEchoice 'Kernel core (/proc/kcore) format' \ "ELF CONFIG_KCORE_ELF \ A.OUT CONFIG_KCORE_AOUT" ELFtristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUTtristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELFtristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISCif [ "$CONFIG_EXPERIMENTAL" = "y" ]; then bool 'Power Management support' CONFIG_PMfiif [ "$CONFIG_CPU_32" = "y" ]; then tristate 'RISC OS personality' CONFIG_ARTHURfiif [ "$CONFIG_ARCH_EBSA110" = "y" -o \ "$CONFIG_ARCH_SA1100" = "y" -o \ "$CONFIG_ARCH_CLPS7500" = "y" -o \ "$CONFIG_ARCH_PERSONAL_SERVER" = "y" -o \ "$CONFIG_ARCH_CATS" = "y" -o \ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then string 'Default kernel command string' CONFIG_CMDLINE ""fiif [ "$CONFIG_ARCH_NETWINDER" = "y" -o \ "$CONFIG_ARCH_EBSA110" = "y" -o \ "$CONFIG_ARCH_EBSA285" = "y" -o \ "$CONFIG_ARCH_CO285" = "y" -o \ "$CONFIG_ARCH_SA1100" = "y" -o \ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then bool 'Timer and CPU usage LEDs' CONFIG_LEDS if [ "$CONFIG_LEDS" = "y" ]; then if [ "$CONFIG_ARCH_NETWINDER" = "y" -o \ "$CONFIG_ARCH_EBSA285" = "y" -o \ "$CONFIG_ARCH_CO285" = "y" -o \ "$CONFIG_ARCH_SA1100" = "y" -o \ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then bool ' Timer LED' CONFIG_LEDS_TIMER bool ' CPU usage LED' CONFIG_LEDS_CPU fi fi if [ "$CONFIG_ARCH_EBSA110" = "y" ]; then define_bool CONFIG_LEDS_TIMER y fifiif [ "$CONFIG_CPU_32" = "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then bool 'Kernel-mode alignment trap handler' CONFIG_ALIGNMENT_TRAPfiendmenusource drivers/parport/Config.insource drivers/mtd/Config.insource drivers/pnp/Config.insource drivers/block/Config.insource drivers/md/Config.inif [ "$CONFIG_ARCH_ACORN" = "y" ]; then source drivers/acorn/block/Config.infiif [ "$CONFIG_NET" = "y" ]; then source net/Config.in mainmenu_option next_comment comment 'Network device support' bool 'Network device support?' CONFIG_NETDEVICES if [ "$CONFIG_NETDEVICES" = "y" ]; then source drivers/net/Config.in fi endmenu source net/ax25/Config.in source net/irda/Config.infimainmenu_option next_commentcomment 'ATA/IDE/MFM/RLL support'tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDEif [ "$CONFIG_IDE" != "n" ]; then source drivers/ide/Config.inelse define_bool CONFIG_BLK_DEV_IDE_MODES n define_bool CONFIG_BLK_DEV_HD nfiendmenumainmenu_option next_commentcomment 'SCSI support'tristate 'SCSI support?' CONFIG_SCSIif [ "$CONFIG_SCSI" != "n" ]; then source drivers/scsi/Config.infiendmenusource drivers/ieee1394/Config.insource drivers/i2o/Config.inmainmenu_option next_commentcomment 'ISDN subsystem'tristate 'ISDN support' CONFIG_ISDNif [ "$CONFIG_ISDN" != "n" ]; then source drivers/isdn/Config.infiendmenusource drivers/char/Config.inif [ "$CONFIG_ARCH_ACORN" = "y" -a \ "$CONFIG_BUSMOUSE" = "y" ]; then if [ "$CONFIG_ARCH_RPC" != "y" ]; then define_bool CONFIG_KBDMOUSE y else define_bool CONFIG_RPCMOUSE y fifisource fs/Config.inif [ "$CONFIG_VT" = "y" ]; then mainmenu_option next_comment comment 'Console drivers' if [ "$CONFIG_ARCH_ACORN" != "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then bool 'VGA text console' CONFIG_VGA_CONSOLE fi bool 'Support Frame buffer devices' CONFIG_FB source drivers/video/Config.in endmenufiif [ "$CONFIG_ARCH_ACORN" = "y" -o \ "$CONFIG_ARCH_CLPS7500" = "y" -o \ "$CONFIG_ARCH_SHARK" = "y" -o \ "$CONFIG_PCI" = "y" ]; then mainmenu_option next_comment comment 'Sound' tristate 'Sound support' CONFIG_SOUND if [ "$CONFIG_SOUND" != "n" ]; then source drivers/sound/Config.in fi endmenufisource drivers/usb/Config.inmainmenu_option next_commentcomment 'Kernel hacking'# Always compile kernel with framepointer (until 2.4 real comes out)# Bug reports aren't much use without this.#bool 'Compile kernel with frame pointer (for useful debugging)' CONFIG_FRAME_POINTERdefine_bool CONFIG_FRAME_POINTER ybool 'Verbose kernel error messages' CONFIG_DEBUG_ERRORSbool 'Verbose user fault messages' CONFIG_DEBUG_USERbool 'Include debugging information in kernel binary' CONFIG_DEBUG_INFObool 'Magic SysRq key' CONFIG_MAGIC_SYSRQif [ "$CONFIG_CPU_26" = "y" ]; then bool 'Disable pgtable cache' CONFIG_NO_PGT_CACHEfiif [ "$CONFIG_EXPERIMENTAL" = "y" ]; then # These options are only for real kernel hackers # who want to get their hands dirty. bool 'Kernel low-level debugging functions' CONFIG_DEBUG_LL if [ "$CONFIG_DEBUG_LL" = "y" ]; then if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then bool 'Kernel low-level debugging messages via footbridge serial port' CONFIG_DEBUG_DC21285_PORT fi fifiendmenu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -