Config-kernel.in 22 KB

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