config.in
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:7k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/config-language.txt.
  3. #
  4. define_bool CONFIG_UID16 n
  5. define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
  6. define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
  7. define_bool CONFIG_GENERIC_BUST_SPINLOCK n
  8. define_bool CONFIG_GENERIC_ISA_DMA y
  9. define_bool CONFIG_HAVE_DEC_LOCK y
  10. mainmenu_name "64 bit PowerPC Linux Kernel Configuration"
  11. mainmenu_option next_comment
  12.    comment 'Code maturity level options'
  13.    bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
  14. endmenu
  15. mainmenu_option next_comment
  16. comment 'Platform support'
  17. define_bool CONFIG_PPC y
  18. define_bool CONFIG_PPC64 y
  19. define_bool CONFIG_SERIAL_CONSOLE y
  20. choice 'Machine Type'
  21. "pSeries        CONFIG_PPC_PSERIES 
  22.  iSeries                CONFIG_PPC_ISERIES" CONFIG_PPC_PSERIES
  23. bool 'Symmetric multi-processing support' CONFIG_SMP
  24. if [ "$CONFIG_SMP" = "y" ]; then
  25.   bool '  Distribute interrupts on all CPUs by default' CONFIG_IRQ_ALL_CPUS
  26.   if [ "$CONFIG_PPC_PSERIES" = "y" ]; then
  27.     bool '  Hardware multithreading' CONFIG_HMT
  28.   fi
  29. fi
  30. if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
  31.    define_bool CONFIG_MSCHUNKS y
  32. else
  33. bool 'MsChunks Physical to Absolute address translation support' CONFIG_MSCHUNKS
  34. tristate 'Firmware flash interface' CONFIG_RTAS_FLASH
  35. fi
  36. endmenu
  37. mainmenu_option next_comment
  38. comment 'Loadable module support'
  39. bool 'Enable loadable module support' CONFIG_MODULES
  40. if [ "$CONFIG_MODULES" = "y" ]; then
  41.    bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
  42.    bool '  Kernel module loader' CONFIG_KMOD
  43. fi
  44. endmenu
  45. mainmenu_option next_comment
  46. comment 'General setup'
  47. define_bool CONFIG_ISA n
  48. define_bool CONFIG_SBUS n
  49. define_bool CONFIG_MCA n
  50. define_bool CONFIG_EISA n
  51. define_bool CONFIG_PCI y
  52. define_bool CONFIG_PCMCIA n
  53. bool 'Networking support' CONFIG_NET
  54. bool 'Sysctl support' CONFIG_SYSCTL
  55. bool 'System V IPC' CONFIG_SYSVIPC
  56. bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
  57. # only elf supported, a.out is not -- Cort
  58. if [ "$CONFIG_PROC_FS" = "y" ]; then
  59.    define_bool CONFIG_KCORE_ELF y
  60. fi
  61. bool 'Kernel support for 64 bit ELF binaries' CONFIG_BINFMT_ELF
  62. tristate 'Kernel support for 32 bit ELF binaries' CONFIG_BINFMT_ELF32
  63. tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
  64. source drivers/pci/Config.in
  65. bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
  66. source drivers/parport/Config.in
  67. if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
  68.    bool 'Support for VGA Console' CONFIG_VGA_CONSOLE
  69.    bool 'Support for frame buffer devices' CONFIG_FB
  70.    bool 'Support for Open Firmware device tree in /proc' CONFIG_PROC_DEVICETREE
  71.    bool 'Default bootloader kernel arguments' CONFIG_CMDLINE_BOOL
  72.    if [ "$CONFIG_CMDLINE_BOOL" = "y" ] ; then
  73.      string 'Initial kernel command string' CONFIG_CMDLINE "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  74.    fi
  75. fi
  76. endmenu
  77. source drivers/block/Config.in
  78. source drivers/md/Config.in
  79. if [ "$CONFIG_NET" = "y" ]; then
  80.    source net/Config.in
  81. fi
  82. mainmenu_option next_comment
  83. comment 'ATA/IDE/MFM/RLL support'
  84. tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
  85. if [ "$CONFIG_IDE" != "n" ]; then
  86.   source drivers/ide/Config.in
  87. else
  88.   define_bool CONFIG_BLK_DEV_IDE_MODES n
  89.   define_bool CONFIG_BLK_DEV_HD n
  90. fi
  91. endmenu
  92. mainmenu_option next_comment
  93. comment 'SCSI support'
  94. tristate 'SCSI support' CONFIG_SCSI
  95. if [ "$CONFIG_SCSI" != "n" ]; then
  96.    source drivers/scsi/Config.in
  97. fi
  98. endmenu
  99. source drivers/ieee1394/Config.in
  100. if [ "$CONFIG_NET" = "y" ]; then
  101.    mainmenu_option next_comment
  102.    comment 'Network device support'
  103.    bool 'Network device support' CONFIG_NETDEVICES
  104.    if [ "$CONFIG_NETDEVICES" = "y" ]; then
  105.       source drivers/net/Config.in
  106.       if [ "$CONFIG_ATM" = "y" ]; then
  107.          source drivers/atm/Config.in
  108.       fi
  109.    fi
  110.    endmenu
  111. fi
  112. source net/ax25/Config.in
  113. mainmenu_option next_comment
  114. comment 'ISDN subsystem'
  115. tristate 'ISDN support' CONFIG_ISDN
  116. if [ "$CONFIG_ISDN" != "n" ]; then
  117.    source drivers/isdn/Config.in
  118. fi
  119. endmenu
  120. mainmenu_option next_comment
  121. comment 'Old CD-ROM drivers (not SCSI, not IDE)'
  122. bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
  123. if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
  124.    source drivers/cdrom/Config.in
  125. fi
  126. endmenu
  127. if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
  128. mainmenu_option next_comment
  129. comment 'Console drivers'
  130. source drivers/video/Config.in
  131. endmenu
  132. source drivers/input/Config.in
  133. fi
  134. if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
  135. mainmenu_option next_comment
  136. comment 'iSeries device drivers'
  137.    dep_tristate 'iSeries Virtual Console Support' CONFIG_VIOCONS $CONFIG_PPC_ISERIES
  138.    dep_tristate 'iSeries Virtual I/O disk support' CONFIG_VIODASD $CONFIG_PPC_ISERIES
  139.    if [ "$CONFIG_VIODASD" = "y" -o "$CONFIG_VIODASD" = "m" ]; then
  140.       bool 'iSeries Virtual disk IDE emulation' CONFIG_VIODASD_IDE
  141.    fi
  142.    dep_tristate 'iSeries Virtual I/O CD support' CONFIG_VIOCD $CONFIG_PPC_ISERIES
  143.    if [ "$CONFIG_VIOCD" = "y" -o "$CONFIG_VIOCD" = "m" ]; then
  144.       bool 'iSeries Virtual CD Aztech emulation' CONFIG_VIOCD_AZTECH
  145.    fi
  146.    dep_tristate 'iSeries Virtual Tape Support' CONFIG_VIOTAPE  $CONFIG_PPC_ISERIES
  147.    dep_tristate 'iSeries Virtual Ethernet driver support' CONFIG_VETH $CONFIG_PPC_ISERIES
  148. endmenu
  149. fi
  150. if [ "$CONFIG_VIOCONS" = "n" ]; then
  151.    if [ "$CONFIG_VIODASD" = "n" ]; then
  152.       if [ "$CONFIG_VIOTAPE" = "n" ]; then
  153.          if [ "$CONFIG_VIOCD" = "n" ]; then
  154.     define_bool CONFIG_VIOPATH n
  155.  else
  156.     define_bool CONFIG_VIOPATH y
  157.          fi
  158.   else
  159.      define_bool CONFIG_VIOPATH y
  160.       fi
  161.    else
  162.       define_bool CONFIG_VIOPATH y
  163.    fi
  164. else
  165.    define_bool CONFIG_VIOPATH y
  166. fi
  167. if [ "$CONFIG_VIOCD" = "y" ]; then
  168.    define_bool CONFIG_CD_NO_IDESCSI y
  169. fi
  170. source drivers/char/Config.in
  171. source fs/Config.in
  172. if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
  173. mainmenu_option next_comment
  174. comment 'Sound'
  175. tristate 'Sound card support' CONFIG_SOUND
  176. if [ "$CONFIG_SOUND" != "n" ]; then
  177.    source drivers/sound/dmasound/Config.in
  178.    source drivers/sound/Config.in
  179. fi
  180. endmenu
  181. source drivers/media/Config.in
  182. source drivers/usb/Config.in
  183. fi
  184. mainmenu_option next_comment
  185. comment 'Kernel hacking'
  186. bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
  187. bool 'Include kgdb kernel debugger' CONFIG_KGDB
  188. bool 'Include xmon kernel debugger' CONFIG_XMON
  189. bool 'Include kdb kernel debugger' CONFIG_KDB
  190. if [ "$CONFIG_KDB" = "y" ]; then
  191.   bool '  KDB off by default' CONFIG_KDB_OFF
  192.   define_bool CONFIG_KALLSYMS y
  193.   define_bool CONFIG_XMON n
  194. fi
  195. if [ "$CONFIG_XMON" = "y" ]; then
  196.   define_bool CONFIG_KDB n
  197.   define_bool CONFIG_KALLSYMS n
  198. fi
  199. bool 'Include PPCDBG realtime debugging' CONFIG_PPCDBG
  200. tristate 'Linux Kernel Crash Dump (LKCD) Support' CONFIG_DUMP
  201. if [ "$CONFIG_DUMP" = "y" -o "$CONFIG_DUMP" = "m" ]; then
  202.    dep_bool '  LKCD RLE compression' CONFIG_DUMP_COMPRESS_RLE $CONFIG_DUMP
  203.    dep_bool '  LKCD GZIP compression' CONFIG_DUMP_COMPRESS_GZIP $CONFIG_DUMP
  204. fi
  205. endmenu