Config-kernel.in 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  1. # Copyright (C) 2006-2014 OpenWrt.org
  2. #
  3. # This is free software, licensed under the GNU General Public License v2.
  4. # See /LICENSE for more information.
  5. #
  6. config KERNEL_BUILD_USER
  7. string "Custom Kernel Build User Name"
  8. default ""
  9. help
  10. Sets the Kernel build user string, which for example will be returned
  11. by 'uname -a' on running systems.
  12. If not set, uses system user at build time.
  13. config KERNEL_BUILD_DOMAIN
  14. string "Custom Kernel Build Domain Name"
  15. default ""
  16. help
  17. Sets the Kernel build domain string, which for example will be
  18. returned by 'uname -a' on running systems.
  19. If not set, uses system hostname at build time.
  20. config KERNEL_PRINTK
  21. bool "Enable support for printk"
  22. default y
  23. config KERNEL_CRASHLOG
  24. bool "Crash logging"
  25. depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
  26. default y
  27. config KERNEL_SWAP
  28. bool "Support for paging of anonymous memory (swap)"
  29. default y if !SMALL_FLASH
  30. config KERNEL_DEBUG_FS
  31. bool "Compile the kernel with debug filesystem enabled"
  32. default y
  33. help
  34. debugfs is a virtual file system that kernel developers use to put
  35. debugging files into. Enable this option to be able to read and
  36. write to these files. Many common debugging facilities, such as
  37. ftrace, require the existence of debugfs.
  38. config KERNEL_MIPS_FPU_EMULATOR
  39. bool "Compile the kernel with MIPS FPU Emulator"
  40. default y if TARGET_pistachio
  41. depends on (mips || mipsel || mips64 || mips64el)
  42. config KERNEL_ARM_PMU
  43. bool
  44. default n
  45. depends on (arm || aarch64)
  46. config KERNEL_PERF_EVENTS
  47. bool "Compile the kernel with performance events and counters"
  48. default n
  49. select KERNEL_ARM_PMU if (arm || aarch64)
  50. config KERNEL_PROFILING
  51. bool "Compile the kernel with profiling enabled"
  52. default n
  53. select KERNEL_PERF_EVENTS
  54. help
  55. Enable the extended profiling support mechanisms used by profilers such
  56. as OProfile.
  57. config KERNEL_TASKSTATS
  58. bool "Compile the kernel with task resource/io statistics and accounting"
  59. default n
  60. help
  61. Enable the collection and publishing of task/io statistics and
  62. accounting. Enable this option to enable i/o monitoring in system
  63. monitors.
  64. if KERNEL_TASKSTATS
  65. config KERNEL_TASK_DELAY_ACCT
  66. def_bool y
  67. config KERNEL_TASK_IO_ACCOUNTING
  68. def_bool y
  69. config KERNEL_TASK_XACCT
  70. def_bool y
  71. endif
  72. config KERNEL_KALLSYMS
  73. bool "Compile the kernel with symbol table information"
  74. default y if !SMALL_FLASH
  75. help
  76. This will give you more information in stack traces from kernel oopses.
  77. config KERNEL_FTRACE
  78. bool "Compile the kernel with tracing support"
  79. depends on !TARGET_uml
  80. default n
  81. config KERNEL_FTRACE_SYSCALLS
  82. bool "Trace system calls"
  83. depends on KERNEL_FTRACE
  84. default n
  85. config KERNEL_ENABLE_DEFAULT_TRACERS
  86. bool "Trace process context switches and events"
  87. depends on KERNEL_FTRACE
  88. default n
  89. config KERNEL_FUNCTION_TRACER
  90. bool "Function tracer"
  91. depends on KERNEL_FTRACE
  92. default n
  93. config KERNEL_FUNCTION_GRAPH_TRACER
  94. bool "Function graph tracer"
  95. depends on KERNEL_FUNCTION_TRACER
  96. default n
  97. config KERNEL_DYNAMIC_FTRACE
  98. bool "Enable/disable function tracing dynamically"
  99. depends on KERNEL_FUNCTION_TRACER
  100. default n
  101. config KERNEL_FUNCTION_PROFILER
  102. bool "Function profiler"
  103. depends on KERNEL_FUNCTION_TRACER
  104. default n
  105. config KERNEL_DEBUG_KERNEL
  106. bool
  107. default n
  108. config KERNEL_DEBUG_INFO
  109. bool "Compile the kernel with debug information"
  110. default y if !SMALL_FLASH
  111. select KERNEL_DEBUG_KERNEL
  112. help
  113. This will compile your kernel and modules with debug information.
  114. config KERNEL_DEBUG_LL_UART_NONE
  115. bool
  116. default n
  117. depends on arm
  118. config KERNEL_DEBUG_LL
  119. bool
  120. default n
  121. depends on arm
  122. select KERNEL_DEBUG_LL_UART_NONE
  123. help
  124. ARM low level debugging.
  125. config KERNEL_DYNAMIC_DEBUG
  126. bool "Compile the kernel with dynamic printk"
  127. select KERNEL_DEBUG_FS
  128. default n
  129. help
  130. Compiles debug level messages into the kernel, which would not
  131. otherwise be available at runtime. These messages can then be
  132. enabled/disabled based on various levels of scope - per source file,
  133. function, module, format string, and line number. This mechanism
  134. implicitly compiles in all pr_debug() and dev_dbg() calls, which
  135. enlarges the kernel text size by about 2%.
  136. config KERNEL_EARLY_PRINTK
  137. bool "Compile the kernel with early printk"
  138. default y if TARGET_bcm53xx
  139. default n
  140. depends on arm
  141. select KERNEL_DEBUG_KERNEL
  142. select KERNEL_DEBUG_LL if arm
  143. help
  144. Compile the kernel with early printk support. This is only useful for
  145. debugging purposes to send messages over the serial console in early boot.
  146. Enable this to debug early boot problems.
  147. config KERNEL_KPROBES
  148. bool "Compile the kernel with kprobes support"
  149. default n
  150. select KERNEL_FTRACE
  151. select KERNEL_PERF_EVENTS
  152. help
  153. Compiles the kernel with KPROBES support, which allows you to trap
  154. at almost any kernel address and execute a callback function.
  155. register_kprobe() establishes a probepoint and specifies the
  156. callback. Kprobes is useful for kernel debugging, non-intrusive
  157. instrumentation and testing.
  158. If in doubt, say "N".
  159. config KERNEL_KPROBE_EVENT
  160. bool
  161. default y if KERNEL_KPROBES
  162. config KERNEL_KPROBE_EVENTS
  163. bool
  164. default y if KERNEL_KPROBES
  165. config KERNEL_AIO
  166. bool "Compile the kernel with asynchronous IO support"
  167. default n
  168. config KERNEL_FHANDLE
  169. bool "Compile the kernel with support for fhandle syscalls"
  170. default n
  171. config KERNEL_FANOTIFY
  172. bool "Compile the kernel with modern file notification support"
  173. default n
  174. config KERNEL_BLK_DEV_BSG
  175. bool "Compile the kernel with SCSI generic v4 support for any block device"
  176. default n
  177. config KERNEL_MAGIC_SYSRQ
  178. bool "Compile the kernel with SysRq support"
  179. default y
  180. config KERNEL_DEBUG_PINCTRL
  181. bool "Compile the kernel with pinctrl debugging"
  182. select KERNEL_DEBUG_KERNEL
  183. config KERNEL_DEBUG_GPIO
  184. bool "Compile the kernel with gpio debugging"
  185. select KERNEL_DEBUG_KERNEL
  186. config KERNEL_COREDUMP
  187. bool
  188. config KERNEL_ELF_CORE
  189. bool "Enable process core dump support"
  190. select KERNEL_COREDUMP
  191. default y if !SMALL_FLASH
  192. config KERNEL_PROVE_LOCKING
  193. bool "Enable kernel lock checking"
  194. select KERNEL_DEBUG_KERNEL
  195. default n
  196. config KERNEL_PRINTK_TIME
  197. bool "Enable printk timestamps"
  198. default y
  199. config KERNEL_SLUB_DEBUG
  200. bool
  201. config KERNEL_SLUB_DEBUG_ON
  202. bool
  203. config KERNEL_SLABINFO
  204. select KERNEL_SLUB_DEBUG
  205. select KERNEL_SLUB_DEBUG_ON
  206. bool "Enable /proc slab debug info"
  207. config KERNEL_PROC_PAGE_MONITOR
  208. bool "Enable /proc page monitoring"
  209. config KERNEL_RELAY
  210. bool
  211. config KERNEL_KEXEC
  212. bool "Enable kexec support"
  213. config KERNEL_PROC_VMCORE
  214. bool
  215. config KERNEL_CRASH_DUMP
  216. depends on i386 || x86_64 || arm || armeb
  217. select KERNEL_KEXEC
  218. select KERNEL_PROC_VMCORE
  219. bool "Enable support for kexec crashdump"
  220. default y
  221. config USE_RFKILL
  222. bool "Enable rfkill support"
  223. default RFKILL_SUPPORT
  224. config USE_SPARSE
  225. bool "Enable sparse check during kernel build"
  226. default n
  227. config KERNEL_DEVTMPFS
  228. bool "Compile the kernel with device tmpfs enabled"
  229. default n
  230. help
  231. devtmpfs is a simple, kernel-managed /dev filesystem. The kernel creates
  232. devices nodes for all registered devices to simplify boot, but leaves more
  233. complex tasks to userspace (e.g. udev).
  234. if KERNEL_DEVTMPFS
  235. config KERNEL_DEVTMPFS_MOUNT
  236. bool "Automatically mount devtmpfs after root filesystem is mounted"
  237. default n
  238. endif
  239. config KERNEL_KEYS
  240. bool "Enable kernel access key retention support"
  241. default n
  242. config KERNEL_PERSISTENT_KEYRINGS
  243. bool "Enable kernel persistent keyrings"
  244. depends on KERNEL_KEYS
  245. default n
  246. config KERNEL_BIG_KEYS
  247. bool "Enable large payload keys on kernel keyrings"
  248. depends on KERNEL_KEYS
  249. default n
  250. config KERNEL_ENCRYPTED_KEYS
  251. tristate "Enable keys with encrypted payloads on kernel keyrings"
  252. depends on KERNEL_KEYS
  253. default n
  254. #
  255. # CGROUP support symbols
  256. #
  257. config KERNEL_CGROUPS
  258. bool "Enable kernel cgroups"
  259. default n
  260. if KERNEL_CGROUPS
  261. config KERNEL_CGROUP_DEBUG
  262. bool "Example debug cgroup subsystem"
  263. default n
  264. help
  265. This option enables a simple cgroup subsystem that
  266. exports useful debugging information about the cgroups
  267. framework.
  268. config KERNEL_FREEZER
  269. bool
  270. default y if KERNEL_CGROUP_FREEZER
  271. config KERNEL_CGROUP_FREEZER
  272. bool "Freezer cgroup subsystem"
  273. default y
  274. help
  275. Provides a way to freeze and unfreeze all tasks in a
  276. cgroup.
  277. config KERNEL_CGROUP_DEVICE
  278. bool "Device controller for cgroups"
  279. default y
  280. help
  281. Provides a cgroup implementing whitelists for devices which
  282. a process in the cgroup can mknod or open.
  283. config KERNEL_CGROUP_PIDS
  284. bool "PIDs cgroup subsystem"
  285. default y
  286. help
  287. Provides enforcement of process number limits in the scope of a
  288. cgroup.
  289. config KERNEL_CPUSETS
  290. bool "Cpuset support"
  291. default n
  292. help
  293. This option will let you create and manage CPUSETs which
  294. allow dynamically partitioning a system into sets of CPUs and
  295. Memory Nodes and assigning tasks to run only within those sets.
  296. This is primarily useful on large SMP or NUMA systems.
  297. config KERNEL_PROC_PID_CPUSET
  298. bool "Include legacy /proc/<pid>/cpuset file"
  299. default n
  300. depends on KERNEL_CPUSETS
  301. config KERNEL_CGROUP_CPUACCT
  302. bool "Simple CPU accounting cgroup subsystem"
  303. default n
  304. help
  305. Provides a simple Resource Controller for monitoring the
  306. total CPU consumed by the tasks in a cgroup.
  307. config KERNEL_RESOURCE_COUNTERS
  308. bool "Resource counters"
  309. default n
  310. help
  311. This option enables controller independent resource accounting
  312. infrastructure that works with cgroups.
  313. config KERNEL_MM_OWNER
  314. bool
  315. default y if KERNEL_MEMCG
  316. config KERNEL_MEMCG
  317. bool "Memory Resource Controller for Control Groups"
  318. default n
  319. depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
  320. help
  321. Provides a memory resource controller that manages both anonymous
  322. memory and page cache. (See Documentation/cgroups/memory.txt)
  323. Note that setting this option increases fixed memory overhead
  324. associated with each page of memory in the system. By this,
  325. 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  326. usage tracking struct at boot. Total amount of this is printed out
  327. at boot.
  328. Only enable when you're ok with these tradeoffs and really
  329. sure you need the memory resource controller. Even when you enable
  330. this, you can set "cgroup_disable=memory" at your boot option to
  331. disable memory resource controller and you can avoid overheads
  332. (but lose benefits of memory resource controller).
  333. This config option also selects MM_OWNER config option, which
  334. could in turn add some fork/exit overhead.
  335. config KERNEL_MEMCG_SWAP
  336. bool "Memory Resource Controller Swap Extension"
  337. default n
  338. depends on KERNEL_MEMCG
  339. help
  340. Add swap management feature to memory resource controller. When you
  341. enable this, you can limit mem+swap usage per cgroup. In other words,
  342. when you disable this, memory resource controller has no cares to
  343. usage of swap...a process can exhaust all of the swap. This extension
  344. is useful when you want to avoid exhaustion swap but this itself
  345. adds more overheads and consumes memory for remembering information.
  346. Especially if you use 32bit system or small memory system, please
  347. be careful about enabling this. When memory resource controller
  348. is disabled by boot option, this will be automatically disabled and
  349. there will be no overhead from this. Even when you set this config=y,
  350. if boot option "swapaccount=0" is set, swap will not be accounted.
  351. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
  352. size is 4096bytes, 512k per 1Gbytes of swap.
  353. config KERNEL_MEMCG_SWAP_ENABLED
  354. bool "Memory Resource Controller Swap Extension enabled by default"
  355. default n
  356. depends on KERNEL_MEMCG_SWAP
  357. help
  358. Memory Resource Controller Swap Extension comes with its price in
  359. a bigger memory consumption. General purpose distribution kernels
  360. which want to enable the feature but keep it disabled by default
  361. and let the user enable it by swapaccount boot command line
  362. parameter should have this option unselected.
  363. Those who want to have the feature enabled by default should
  364. select this option (if, for some reason, they need to disable it,
  365. then swapaccount=0 does the trick).
  366. config KERNEL_MEMCG_KMEM
  367. bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
  368. default n
  369. depends on KERNEL_MEMCG
  370. help
  371. The Kernel Memory extension for Memory Resource Controller can limit
  372. the amount of memory used by kernel objects in the system. Those are
  373. fundamentally different from the entities handled by the standard
  374. Memory Controller, which are page-based, and can be swapped. Users of
  375. the kmem extension can use it to guarantee that no group of processes
  376. will ever exhaust kernel resources alone.
  377. config KERNEL_CGROUP_PERF
  378. bool "Enable perf_event per-cpu per-container group (cgroup) monitoring"
  379. select KERNEL_PERF_EVENTS
  380. default n
  381. help
  382. This option extends the per-cpu mode to restrict monitoring to
  383. threads which belong to the cgroup specified and run on the
  384. designated cpu.
  385. menuconfig KERNEL_CGROUP_SCHED
  386. bool "Group CPU scheduler"
  387. default n
  388. help
  389. This feature lets CPU scheduler recognize task groups and control CPU
  390. bandwidth allocation to such task groups. It uses cgroups to group
  391. tasks.
  392. if KERNEL_CGROUP_SCHED
  393. config KERNEL_FAIR_GROUP_SCHED
  394. bool "Group scheduling for SCHED_OTHER"
  395. default n
  396. config KERNEL_CFS_BANDWIDTH
  397. bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
  398. default n
  399. depends on KERNEL_FAIR_GROUP_SCHED
  400. help
  401. This option allows users to define CPU bandwidth rates (limits) for
  402. tasks running within the fair group scheduler. Groups with no limit
  403. set are considered to be unconstrained and will run with no
  404. restriction.
  405. See tip/Documentation/scheduler/sched-bwc.txt for more information.
  406. config KERNEL_RT_GROUP_SCHED
  407. bool "Group scheduling for SCHED_RR/FIFO"
  408. default n
  409. help
  410. This feature lets you explicitly allocate real CPU bandwidth
  411. to task groups. If enabled, it will also make it impossible to
  412. schedule realtime tasks for non-root users until you allocate
  413. realtime bandwidth for them.
  414. endif
  415. config KERNEL_BLK_CGROUP
  416. bool "Block IO controller"
  417. default y
  418. help
  419. Generic block IO controller cgroup interface. This is the common
  420. cgroup interface which should be used by various IO controlling
  421. policies.
  422. Currently, CFQ IO scheduler uses it to recognize task groups and
  423. control disk bandwidth allocation (proportional time slice allocation)
  424. to such task groups. It is also used by bio throttling logic in
  425. block layer to implement upper limit in IO rates on a device.
  426. This option only enables generic Block IO controller infrastructure.
  427. One needs to also enable actual IO controlling logic/policy. For
  428. enabling proportional weight division of disk bandwidth in CFQ, set
  429. CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
  430. CONFIG_BLK_DEV_THROTTLING=y.
  431. if KERNEL_BLK_CGROUP
  432. config KERNEL_CFQ_GROUP_IOSCHED
  433. bool "Proportional weight of disk bandwidth in CFQ"
  434. config KERNEL_BLK_DEV_THROTTLING
  435. bool "Enable throttling policy"
  436. default y if TARGET_brcm2708
  437. config KERNEL_BLK_DEV_THROTTLING_LOW
  438. bool "Block throttling .low limit interface support (EXPERIMENTAL)"
  439. depends on KERNEL_BLK_DEV_THROTTLING
  440. endif
  441. config KERNEL_DEBUG_BLK_CGROUP
  442. bool "Enable Block IO controller debugging"
  443. default n
  444. depends on KERNEL_BLK_CGROUP
  445. help
  446. Enable some debugging help. Currently it exports additional stat
  447. files in a cgroup which can be useful for debugging.
  448. config KERNEL_NET_CLS_CGROUP
  449. bool "Control Group Classifier"
  450. default y
  451. config KERNEL_NETPRIO_CGROUP
  452. bool "Network priority cgroup"
  453. default y
  454. endif
  455. #
  456. # Namespace support symbols
  457. #
  458. config KERNEL_NAMESPACES
  459. bool "Enable kernel namespaces"
  460. default n
  461. if KERNEL_NAMESPACES
  462. config KERNEL_UTS_NS
  463. bool "UTS namespace"
  464. default y
  465. help
  466. In this namespace, tasks see different info provided
  467. with the uname() system call.
  468. config KERNEL_IPC_NS
  469. bool "IPC namespace"
  470. default y
  471. help
  472. In this namespace, tasks work with IPC ids which correspond to
  473. different IPC objects in different namespaces.
  474. config KERNEL_USER_NS
  475. bool "User namespace (EXPERIMENTAL)"
  476. default y
  477. help
  478. This allows containers, i.e. vservers, to use user namespaces
  479. to provide different user info for different servers.
  480. config KERNEL_PID_NS
  481. bool "PID Namespaces"
  482. default y
  483. help
  484. Support process id namespaces. This allows having multiple
  485. processes with the same pid as long as they are in different
  486. pid namespaces. This is a building block of containers.
  487. config KERNEL_NET_NS
  488. bool "Network namespace"
  489. default y
  490. help
  491. Allow user space to create what appear to be multiple instances
  492. of the network stack.
  493. endif
  494. #
  495. # LXC related symbols
  496. #
  497. config KERNEL_LXC_MISC
  498. bool "Enable miscellaneous LXC related options"
  499. default n
  500. if KERNEL_LXC_MISC
  501. config KERNEL_DEVPTS_MULTIPLE_INSTANCES
  502. bool "Support multiple instances of devpts"
  503. default y
  504. help
  505. Enable support for multiple instances of devpts filesystem.
  506. If you want to have isolated PTY namespaces (eg: in containers),
  507. say Y here. Otherwise, say N. If enabled, each mount of devpts
  508. filesystem with the '-o newinstance' option will create an
  509. independent PTY namespace.
  510. config KERNEL_POSIX_MQUEUE
  511. bool "POSIX Message Queues"
  512. default y
  513. help
  514. POSIX variant of message queues is a part of IPC. In POSIX message
  515. queues every message has a priority which decides about succession
  516. of receiving it by a process. If you want to compile and run
  517. programs written e.g. for Solaris with use of its POSIX message
  518. queues (functions mq_*) say Y here.
  519. POSIX message queues are visible as a filesystem called 'mqueue'
  520. and can be mounted somewhere if you want to do filesystem
  521. operations on message queues.
  522. endif
  523. config KERNEL_SECCOMP_FILTER
  524. bool
  525. default n
  526. config KERNEL_SECCOMP
  527. bool "Enable seccomp support"
  528. depends on !(TARGET_uml)
  529. select KERNEL_SECCOMP_FILTER
  530. default n
  531. help
  532. Build kernel with support for seccomp.
  533. #
  534. # IPv4 configuration
  535. #
  536. config KERNEL_IP_MROUTE
  537. bool "Enable IPv4 multicast routing"
  538. default y
  539. help
  540. Multicast routing requires a multicast routing daemon in
  541. addition to kernel support.
  542. #
  543. # IPv6 configuration
  544. #
  545. config KERNEL_IPV6
  546. def_bool IPV6
  547. if KERNEL_IPV6
  548. config KERNEL_IPV6_MULTIPLE_TABLES
  549. def_bool y
  550. config KERNEL_IPV6_SUBTREES
  551. def_bool y
  552. config KERNEL_IPV6_MROUTE
  553. bool "Enable IPv6 multicast routing"
  554. default y
  555. help
  556. Multicast routing requires a multicast routing daemon in
  557. addition to kernel support.
  558. config KERNEL_IPV6_PIMSM_V2
  559. def_bool n
  560. endif
  561. #
  562. # NFS related symbols
  563. #
  564. config KERNEL_IP_PNP
  565. bool "Compile the kernel with rootfs on NFS"
  566. help
  567. If you want to make your kernel boot off a NFS server as root
  568. filesystem, select Y here.
  569. if KERNEL_IP_PNP
  570. config KERNEL_IP_PNP_DHCP
  571. def_bool y
  572. config KERNEL_IP_PNP_BOOTP
  573. def_bool n
  574. config KERNEL_IP_PNP_RARP
  575. def_bool n
  576. config KERNEL_NFS_FS
  577. def_bool y
  578. config KERNEL_NFS_V2
  579. def_bool y
  580. config KERNEL_NFS_V3
  581. def_bool y
  582. config KERNEL_ROOT_NFS
  583. def_bool y
  584. endif
  585. menu "Filesystem ACL and attr support options"
  586. config USE_FS_ACL_ATTR
  587. bool "Use filesystem ACL and attr support by default"
  588. default n
  589. help
  590. Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default
  591. for kernel and packages, except tmpfs, flash filesystems,
  592. and old NFS. Also enable userspace extended attribute support
  593. by default. (libreCMC already has an expection it will be
  594. present in the kernel).
  595. config KERNEL_FS_POSIX_ACL
  596. bool "Enable POSIX ACL support"
  597. default y if USE_FS_ACL_ATTR
  598. config KERNEL_BTRFS_FS_POSIX_ACL
  599. bool "Enable POSIX ACL for BtrFS Filesystems"
  600. select KERNEL_FS_POSIX_ACL
  601. default y if USE_FS_ACL_ATTR
  602. config KERNEL_EXT4_FS_POSIX_ACL
  603. bool "Enable POSIX ACL for Ext4 Filesystems"
  604. select KERNEL_FS_POSIX_ACL
  605. default y if USE_FS_ACL_ATTR
  606. config KERNEL_F2FS_FS_POSIX_ACL
  607. bool "Enable POSIX ACL for F2FS Filesystems"
  608. select KERNEL_FS_POSIX_ACL
  609. default n
  610. config KERNEL_JFFS2_FS_POSIX_ACL
  611. bool "Enable POSIX ACL for JFFS2 Filesystems"
  612. select KERNEL_FS_POSIX_ACL
  613. default n
  614. config KERNEL_TMPFS_POSIX_ACL
  615. bool "Enable POSIX ACL for TMPFS Filesystems"
  616. select KERNEL_FS_POSIX_ACL
  617. default n
  618. config KERNEL_CIFS_ACL
  619. bool "Enable CIFS ACLs"
  620. select KERNEL_FS_POSIX_ACL
  621. default y if USE_FS_ACL_ATTR
  622. config KERNEL_HFS_FS_POSIX_ACL
  623. bool "Enable POSIX ACL for HFS Filesystems"
  624. select KERNEL_FS_POSIX_ACL
  625. default y if USE_FS_ACL_ATTR
  626. config KERNEL_HFSPLUG_FS_POSIX_ACL
  627. bool "Enable POSIX ACL for HFS+ Filesystems"
  628. select KERNEL_FS_POSIX_ACL
  629. default y if USE_FS_ACL_ATTR
  630. config KERNEL_NFS_ACL_SUPPORT
  631. bool "Enable ACLs for NFS"
  632. default y if USE_FS_ACL_ATTR
  633. config KERNEL_NFS_V3_ACL_SUPPORT
  634. bool "Enable ACLs for NFSv3"
  635. default n
  636. config KERNEL_NFSD_V2_ACL_SUPPORT
  637. bool "Enable ACLs for NFSDv2"
  638. default n
  639. config KERNEL_NFSD_V3_ACL_SUPPORT
  640. bool "Enable ACLs for NFSDv3"
  641. default n
  642. config KERNEL_REISER_FS_POSIX_ACL
  643. bool "Enable POSIX ACLs for ReiserFS"
  644. select KERNEL_FS_POSIX_ACL
  645. default y if USE_FS_ACL_ATTR
  646. config KERNEL_XFS_POSIX_ACL
  647. bool "Enable POSIX ACLs for XFS"
  648. select KERNEL_FS_POSIX_ACL
  649. default y if USE_FS_ACL_ATTR
  650. config KERNEL_JFS_POSIX_ACL
  651. bool "Enable POSIX ACLs for JFS"
  652. select KERNEL_FS_POSIX_ACL
  653. default y if USE_FS_ACL_ATTR
  654. endmenu
  655. config KERNEL_DEVMEM
  656. bool "/dev/mem virtual device support"
  657. help
  658. Say Y here if you want to support the /dev/mem device.
  659. The /dev/mem device is used to access areas of physical
  660. memory.
  661. config KERNEL_DEVKMEM
  662. bool "/dev/kmem virtual device support"
  663. help
  664. Say Y here if you want to support the /dev/kmem device. The
  665. /dev/kmem device is rarely used, but can be used for certain
  666. kind of kernel debugging operations.
  667. config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE
  668. int "Number of squashfs fragments cached"
  669. default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
  670. default 3
  671. #
  672. # compile optimiziation setting
  673. #
  674. choice
  675. prompt "Compiler optimization level"
  676. default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH
  677. config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE
  678. bool "Optimize for performance"
  679. help
  680. This is the default optimization level for the kernel, building
  681. with the "-O2" compiler flag for best performance and most
  682. helpful compile-time warnings.
  683. config KERNEL_CC_OPTIMIZE_FOR_SIZE
  684. bool "Optimize for size"
  685. help
  686. Enabling this option will pass "-Os" instead of "-O2" to
  687. your compiler resulting in a smaller kernel.
  688. endchoice