Config-kernel.in 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  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_AIO
  163. bool "Compile the kernel with asynchronous IO support"
  164. default n
  165. config KERNEL_FHANDLE
  166. bool "Compile the kernel with support for fhandle syscalls"
  167. default n
  168. config KERNEL_FANOTIFY
  169. bool "Compile the kernel with modern file notification support"
  170. default n
  171. config KERNEL_BLK_DEV_BSG
  172. bool "Compile the kernel with SCSI generic v4 support for any block device"
  173. default n
  174. config KERNEL_MAGIC_SYSRQ
  175. bool "Compile the kernel with SysRq support"
  176. default y
  177. config KERNEL_DEBUG_PINCTRL
  178. bool "Compile the kernel with pinctrl debugging"
  179. select KERNEL_DEBUG_KERNEL
  180. config KERNEL_DEBUG_GPIO
  181. bool "Compile the kernel with gpio debugging"
  182. select KERNEL_DEBUG_KERNEL
  183. config KERNEL_COREDUMP
  184. bool
  185. config KERNEL_ELF_CORE
  186. bool "Enable process core dump support"
  187. select KERNEL_COREDUMP
  188. default y if !SMALL_FLASH
  189. config KERNEL_PROVE_LOCKING
  190. bool "Enable kernel lock checking"
  191. select KERNEL_DEBUG_KERNEL
  192. default n
  193. config KERNEL_PRINTK_TIME
  194. bool "Enable printk timestamps"
  195. default y
  196. config KERNEL_SLUB_DEBUG
  197. bool
  198. config KERNEL_SLUB_DEBUG_ON
  199. bool
  200. config KERNEL_SLABINFO
  201. select KERNEL_SLUB_DEBUG
  202. select KERNEL_SLUB_DEBUG_ON
  203. bool "Enable /proc slab debug info"
  204. config KERNEL_PROC_PAGE_MONITOR
  205. bool "Enable /proc page monitoring"
  206. config KERNEL_RELAY
  207. bool
  208. config KERNEL_KEXEC
  209. bool "Enable kexec support"
  210. config KERNEL_PROC_VMCORE
  211. bool
  212. config KERNEL_CRASH_DUMP
  213. depends on i386 || x86_64 || arm || armeb
  214. select KERNEL_KEXEC
  215. select KERNEL_PROC_VMCORE
  216. bool "Enable support for kexec crashdump"
  217. default y
  218. config USE_RFKILL
  219. bool "Enable rfkill support"
  220. default RFKILL_SUPPORT
  221. config USE_SPARSE
  222. bool "Enable sparse check during kernel build"
  223. default n
  224. config KERNEL_DEVTMPFS
  225. bool "Compile the kernel with device tmpfs enabled"
  226. default n
  227. help
  228. devtmpfs is a simple, kernel-managed /dev filesystem. The kernel creates
  229. devices nodes for all registered devices to simplify boot, but leaves more
  230. complex tasks to userspace (e.g. udev).
  231. if KERNEL_DEVTMPFS
  232. config KERNEL_DEVTMPFS_MOUNT
  233. bool "Automatically mount devtmpfs after root filesystem is mounted"
  234. default n
  235. endif
  236. config KERNEL_KEYS
  237. bool "Enable kernel access key retention support"
  238. default n
  239. config KERNEL_PERSISTENT_KEYRINGS
  240. bool "Enable kernel persistent keyrings"
  241. depends on KERNEL_KEYS
  242. default n
  243. config KERNEL_BIG_KEYS
  244. bool "Enable large payload keys on kernel keyrings"
  245. depends on KERNEL_KEYS
  246. default n
  247. config KERNEL_ENCRYPTED_KEYS
  248. tristate "Enable keys with encrypted payloads on kernel keyrings"
  249. depends on KERNEL_KEYS
  250. default n
  251. #
  252. # CGROUP support symbols
  253. #
  254. config KERNEL_CGROUPS
  255. bool "Enable kernel cgroups"
  256. default n
  257. if KERNEL_CGROUPS
  258. config KERNEL_CGROUP_DEBUG
  259. bool "Example debug cgroup subsystem"
  260. default n
  261. help
  262. This option enables a simple cgroup subsystem that
  263. exports useful debugging information about the cgroups
  264. framework.
  265. config KERNEL_FREEZER
  266. bool
  267. default y if KERNEL_CGROUP_FREEZER
  268. config KERNEL_CGROUP_FREEZER
  269. bool "Freezer cgroup subsystem"
  270. default y
  271. help
  272. Provides a way to freeze and unfreeze all tasks in a
  273. cgroup.
  274. config KERNEL_CGROUP_DEVICE
  275. bool "Device controller for cgroups"
  276. default y
  277. help
  278. Provides a cgroup implementing whitelists for devices which
  279. a process in the cgroup can mknod or open.
  280. config KERNEL_CGROUP_PIDS
  281. bool "PIDs cgroup subsystem"
  282. default y
  283. help
  284. Provides enforcement of process number limits in the scope of a
  285. cgroup.
  286. config KERNEL_CPUSETS
  287. bool "Cpuset support"
  288. default n
  289. help
  290. This option will let you create and manage CPUSETs which
  291. allow dynamically partitioning a system into sets of CPUs and
  292. Memory Nodes and assigning tasks to run only within those sets.
  293. This is primarily useful on large SMP or NUMA systems.
  294. config KERNEL_PROC_PID_CPUSET
  295. bool "Include legacy /proc/<pid>/cpuset file"
  296. default n
  297. depends on KERNEL_CPUSETS
  298. config KERNEL_CGROUP_CPUACCT
  299. bool "Simple CPU accounting cgroup subsystem"
  300. default n
  301. help
  302. Provides a simple Resource Controller for monitoring the
  303. total CPU consumed by the tasks in a cgroup.
  304. config KERNEL_RESOURCE_COUNTERS
  305. bool "Resource counters"
  306. default n
  307. help
  308. This option enables controller independent resource accounting
  309. infrastructure that works with cgroups.
  310. config KERNEL_MM_OWNER
  311. bool
  312. default y if KERNEL_MEMCG
  313. config KERNEL_MEMCG
  314. bool "Memory Resource Controller for Control Groups"
  315. default n
  316. depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
  317. help
  318. Provides a memory resource controller that manages both anonymous
  319. memory and page cache. (See Documentation/cgroups/memory.txt)
  320. Note that setting this option increases fixed memory overhead
  321. associated with each page of memory in the system. By this,
  322. 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  323. usage tracking struct at boot. Total amount of this is printed out
  324. at boot.
  325. Only enable when you're ok with these tradeoffs and really
  326. sure you need the memory resource controller. Even when you enable
  327. this, you can set "cgroup_disable=memory" at your boot option to
  328. disable memory resource controller and you can avoid overheads
  329. (but lose benefits of memory resource controller).
  330. This config option also selects MM_OWNER config option, which
  331. could in turn add some fork/exit overhead.
  332. config KERNEL_MEMCG_SWAP
  333. bool "Memory Resource Controller Swap Extension"
  334. default n
  335. depends on KERNEL_MEMCG
  336. help
  337. Add swap management feature to memory resource controller. When you
  338. enable this, you can limit mem+swap usage per cgroup. In other words,
  339. when you disable this, memory resource controller has no cares to
  340. usage of swap...a process can exhaust all of the swap. This extension
  341. is useful when you want to avoid exhaustion swap but this itself
  342. adds more overheads and consumes memory for remembering information.
  343. Especially if you use 32bit system or small memory system, please
  344. be careful about enabling this. When memory resource controller
  345. is disabled by boot option, this will be automatically disabled and
  346. there will be no overhead from this. Even when you set this config=y,
  347. if boot option "swapaccount=0" is set, swap will not be accounted.
  348. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
  349. size is 4096bytes, 512k per 1Gbytes of swap.
  350. config KERNEL_MEMCG_SWAP_ENABLED
  351. bool "Memory Resource Controller Swap Extension enabled by default"
  352. default n
  353. depends on KERNEL_MEMCG_SWAP
  354. help
  355. Memory Resource Controller Swap Extension comes with its price in
  356. a bigger memory consumption. General purpose distribution kernels
  357. which want to enable the feature but keep it disabled by default
  358. and let the user enable it by swapaccount boot command line
  359. parameter should have this option unselected.
  360. Those who want to have the feature enabled by default should
  361. select this option (if, for some reason, they need to disable it,
  362. then swapaccount=0 does the trick).
  363. config KERNEL_MEMCG_KMEM
  364. bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
  365. default n
  366. depends on KERNEL_MEMCG
  367. help
  368. The Kernel Memory extension for Memory Resource Controller can limit
  369. the amount of memory used by kernel objects in the system. Those are
  370. fundamentally different from the entities handled by the standard
  371. Memory Controller, which are page-based, and can be swapped. Users of
  372. the kmem extension can use it to guarantee that no group of processes
  373. will ever exhaust kernel resources alone.
  374. config KERNEL_CGROUP_PERF
  375. bool "Enable perf_event per-cpu per-container group (cgroup) monitoring"
  376. select KERNEL_PERF_EVENTS
  377. default n
  378. help
  379. This option extends the per-cpu mode to restrict monitoring to
  380. threads which belong to the cgroup specified and run on the
  381. designated cpu.
  382. menuconfig KERNEL_CGROUP_SCHED
  383. bool "Group CPU scheduler"
  384. default n
  385. help
  386. This feature lets CPU scheduler recognize task groups and control CPU
  387. bandwidth allocation to such task groups. It uses cgroups to group
  388. tasks.
  389. if KERNEL_CGROUP_SCHED
  390. config KERNEL_FAIR_GROUP_SCHED
  391. bool "Group scheduling for SCHED_OTHER"
  392. default n
  393. config KERNEL_CFS_BANDWIDTH
  394. bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
  395. default n
  396. depends on KERNEL_FAIR_GROUP_SCHED
  397. help
  398. This option allows users to define CPU bandwidth rates (limits) for
  399. tasks running within the fair group scheduler. Groups with no limit
  400. set are considered to be unconstrained and will run with no
  401. restriction.
  402. See tip/Documentation/scheduler/sched-bwc.txt for more information.
  403. config KERNEL_RT_GROUP_SCHED
  404. bool "Group scheduling for SCHED_RR/FIFO"
  405. default n
  406. help
  407. This feature lets you explicitly allocate real CPU bandwidth
  408. to task groups. If enabled, it will also make it impossible to
  409. schedule realtime tasks for non-root users until you allocate
  410. realtime bandwidth for them.
  411. endif
  412. config KERNEL_BLK_CGROUP
  413. bool "Block IO controller"
  414. default y
  415. help
  416. Generic block IO controller cgroup interface. This is the common
  417. cgroup interface which should be used by various IO controlling
  418. policies.
  419. Currently, CFQ IO scheduler uses it to recognize task groups and
  420. control disk bandwidth allocation (proportional time slice allocation)
  421. to such task groups. It is also used by bio throttling logic in
  422. block layer to implement upper limit in IO rates on a device.
  423. This option only enables generic Block IO controller infrastructure.
  424. One needs to also enable actual IO controlling logic/policy. For
  425. enabling proportional weight division of disk bandwidth in CFQ, set
  426. CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
  427. CONFIG_BLK_DEV_THROTTLING=y.
  428. config KERNEL_DEBUG_BLK_CGROUP
  429. bool "Enable Block IO controller debugging"
  430. default n
  431. depends on KERNEL_BLK_CGROUP
  432. help
  433. Enable some debugging help. Currently it exports additional stat
  434. files in a cgroup which can be useful for debugging.
  435. config KERNEL_NET_CLS_CGROUP
  436. bool "Control Group Classifier"
  437. default y
  438. config KERNEL_NETPRIO_CGROUP
  439. bool "Network priority cgroup"
  440. default y
  441. endif
  442. #
  443. # Namespace support symbols
  444. #
  445. config KERNEL_NAMESPACES
  446. bool "Enable kernel namespaces"
  447. default n
  448. if KERNEL_NAMESPACES
  449. config KERNEL_UTS_NS
  450. bool "UTS namespace"
  451. default y
  452. help
  453. In this namespace, tasks see different info provided
  454. with the uname() system call.
  455. config KERNEL_IPC_NS
  456. bool "IPC namespace"
  457. default y
  458. help
  459. In this namespace, tasks work with IPC ids which correspond to
  460. different IPC objects in different namespaces.
  461. config KERNEL_USER_NS
  462. bool "User namespace (EXPERIMENTAL)"
  463. default y
  464. help
  465. This allows containers, i.e. vservers, to use user namespaces
  466. to provide different user info for different servers.
  467. config KERNEL_PID_NS
  468. bool "PID Namespaces"
  469. default y
  470. help
  471. Support process id namespaces. This allows having multiple
  472. processes with the same pid as long as they are in different
  473. pid namespaces. This is a building block of containers.
  474. config KERNEL_NET_NS
  475. bool "Network namespace"
  476. default y
  477. help
  478. Allow user space to create what appear to be multiple instances
  479. of the network stack.
  480. endif
  481. #
  482. # LXC related symbols
  483. #
  484. config KERNEL_LXC_MISC
  485. bool "Enable miscellaneous LXC related options"
  486. default n
  487. if KERNEL_LXC_MISC
  488. config KERNEL_DEVPTS_MULTIPLE_INSTANCES
  489. bool "Support multiple instances of devpts"
  490. default y
  491. help
  492. Enable support for multiple instances of devpts filesystem.
  493. If you want to have isolated PTY namespaces (eg: in containers),
  494. say Y here. Otherwise, say N. If enabled, each mount of devpts
  495. filesystem with the '-o newinstance' option will create an
  496. independent PTY namespace.
  497. config KERNEL_POSIX_MQUEUE
  498. bool "POSIX Message Queues"
  499. default y
  500. help
  501. POSIX variant of message queues is a part of IPC. In POSIX message
  502. queues every message has a priority which decides about succession
  503. of receiving it by a process. If you want to compile and run
  504. programs written e.g. for Solaris with use of its POSIX message
  505. queues (functions mq_*) say Y here.
  506. POSIX message queues are visible as a filesystem called 'mqueue'
  507. and can be mounted somewhere if you want to do filesystem
  508. operations on message queues.
  509. endif
  510. config KERNEL_SECCOMP_FILTER
  511. bool
  512. default n
  513. config KERNEL_SECCOMP
  514. bool "Enable seccomp support"
  515. depends on !(TARGET_uml)
  516. select KERNEL_SECCOMP_FILTER
  517. default n
  518. help
  519. Build kernel with support for seccomp.
  520. #
  521. # IPv4 configuration
  522. #
  523. config KERNEL_IP_MROUTE
  524. bool "Enable IPv4 multicast routing"
  525. default y
  526. help
  527. Multicast routing requires a multicast routing daemon in
  528. addition to kernel support.
  529. #
  530. # IPv6 configuration
  531. #
  532. config KERNEL_IPV6
  533. def_bool IPV6
  534. if KERNEL_IPV6
  535. config KERNEL_IPV6_MULTIPLE_TABLES
  536. def_bool y
  537. config KERNEL_IPV6_SUBTREES
  538. def_bool y
  539. config KERNEL_IPV6_MROUTE
  540. bool "Enable IPv6 multicast routing"
  541. default y
  542. help
  543. Multicast routing requires a multicast routing daemon in
  544. addition to kernel support.
  545. config KERNEL_IPV6_PIMSM_V2
  546. def_bool n
  547. endif
  548. #
  549. # NFS related symbols
  550. #
  551. config KERNEL_IP_PNP
  552. bool "Compile the kernel with rootfs on NFS"
  553. help
  554. If you want to make your kernel boot off a NFS server as root
  555. filesystem, select Y here.
  556. if KERNEL_IP_PNP
  557. config KERNEL_IP_PNP_DHCP
  558. def_bool y
  559. config KERNEL_IP_PNP_BOOTP
  560. def_bool n
  561. config KERNEL_IP_PNP_RARP
  562. def_bool n
  563. config KERNEL_NFS_FS
  564. def_bool y
  565. config KERNEL_NFS_V2
  566. def_bool y
  567. config KERNEL_NFS_V3
  568. def_bool y
  569. config KERNEL_ROOT_NFS
  570. def_bool y
  571. endif
  572. menu "Filesystem ACL and attr support options"
  573. config USE_FS_ACL_ATTR
  574. bool "Use filesystem ACL and attr support by default"
  575. default n
  576. help
  577. Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default
  578. for kernel and packages, except tmpfs, flash filesystems,
  579. and old NFS. Also enable userspace extended attribute support
  580. by default. (libreCMC already has an expection it will be
  581. present in the kernel).
  582. config KERNEL_FS_POSIX_ACL
  583. bool "Enable POSIX ACL support"
  584. default y if USE_FS_ACL_ATTR
  585. config KERNEL_BTRFS_FS_POSIX_ACL
  586. bool "Enable POSIX ACL for BtrFS Filesystems"
  587. select KERNEL_FS_POSIX_ACL
  588. default y if USE_FS_ACL_ATTR
  589. config KERNEL_EXT4_FS_POSIX_ACL
  590. bool "Enable POSIX ACL for Ext4 Filesystems"
  591. select KERNEL_FS_POSIX_ACL
  592. default y if USE_FS_ACL_ATTR
  593. config KERNEL_F2FS_FS_POSIX_ACL
  594. bool "Enable POSIX ACL for F2FS Filesystems"
  595. select KERNEL_FS_POSIX_ACL
  596. default n
  597. config KERNEL_JFFS2_FS_POSIX_ACL
  598. bool "Enable POSIX ACL for JFFS2 Filesystems"
  599. select KERNEL_FS_POSIX_ACL
  600. default n
  601. config KERNEL_TMPFS_POSIX_ACL
  602. bool "Enable POSIX ACL for TMPFS Filesystems"
  603. select KERNEL_FS_POSIX_ACL
  604. default n
  605. config KERNEL_CIFS_ACL
  606. bool "Enable CIFS ACLs"
  607. select KERNEL_FS_POSIX_ACL
  608. default y if USE_FS_ACL_ATTR
  609. config KERNEL_HFS_FS_POSIX_ACL
  610. bool "Enable POSIX ACL for HFS Filesystems"
  611. select KERNEL_FS_POSIX_ACL
  612. default y if USE_FS_ACL_ATTR
  613. config KERNEL_HFSPLUG_FS_POSIX_ACL
  614. bool "Enable POSIX ACL for HFS+ Filesystems"
  615. select KERNEL_FS_POSIX_ACL
  616. default y if USE_FS_ACL_ATTR
  617. config KERNEL_NFS_ACL_SUPPORT
  618. bool "Enable ACLs for NFS"
  619. default y if USE_FS_ACL_ATTR
  620. config KERNEL_NFS_V3_ACL_SUPPORT
  621. bool "Enable ACLs for NFSv3"
  622. default n
  623. config KERNEL_NFSD_V2_ACL_SUPPORT
  624. bool "Enable ACLs for NFSDv2"
  625. default n
  626. config KERNEL_NFSD_V3_ACL_SUPPORT
  627. bool "Enable ACLs for NFSDv3"
  628. default n
  629. config KERNEL_REISER_FS_POSIX_ACL
  630. bool "Enable POSIX ACLs for ReiserFS"
  631. select KERNEL_FS_POSIX_ACL
  632. default y if USE_FS_ACL_ATTR
  633. config KERNEL_XFS_POSIX_ACL
  634. bool "Enable POSIX ACLs for XFS"
  635. select KERNEL_FS_POSIX_ACL
  636. default y if USE_FS_ACL_ATTR
  637. config KERNEL_JFS_POSIX_ACL
  638. bool "Enable POSIX ACLs for JFS"
  639. select KERNEL_FS_POSIX_ACL
  640. default y if USE_FS_ACL_ATTR
  641. endmenu
  642. config KERNEL_DEVMEM
  643. bool "/dev/mem virtual device support"
  644. help
  645. Say Y here if you want to support the /dev/mem device.
  646. The /dev/mem device is used to access areas of physical
  647. memory.
  648. config KERNEL_DEVKMEM
  649. bool "/dev/kmem virtual device support"
  650. help
  651. Say Y here if you want to support the /dev/kmem device. The
  652. /dev/kmem device is rarely used, but can be used for certain
  653. kind of kernel debugging operations.
  654. config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE
  655. int "Number of squashfs fragments cached"
  656. default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
  657. default 3
  658. #
  659. # compile optimiziation setting
  660. #
  661. choice
  662. prompt "Compiler optimization level"
  663. default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH
  664. config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE
  665. bool "Optimize for performance"
  666. help
  667. This is the default optimization level for the kernel, building
  668. with the "-O2" compiler flag for best performance and most
  669. helpful compile-time warnings.
  670. config KERNEL_CC_OPTIMIZE_FOR_SIZE
  671. bool "Optimize for size"
  672. help
  673. Enabling this option will pass "-Os" instead of "-O2" to
  674. your compiler resulting in a smaller kernel.
  675. endchoice