Config-kernel.in 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  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. if KERNEL_BLK_CGROUP
  429. config KERNEL_CFQ_GROUP_IOSCHED
  430. bool "Proportional weight of disk bandwidth in CFQ"
  431. config KERNEL_BLK_DEV_THROTTLING
  432. bool "Enable throttling policy"
  433. default y if TARGET_brcm2708
  434. config KERNEL_BLK_DEV_THROTTLING_LOW
  435. bool "Block throttling .low limit interface support (EXPERIMENTAL)"
  436. depends on KERNEL_BLK_DEV_THROTTLING
  437. endif
  438. config KERNEL_DEBUG_BLK_CGROUP
  439. bool "Enable Block IO controller debugging"
  440. default n
  441. depends on KERNEL_BLK_CGROUP
  442. help
  443. Enable some debugging help. Currently it exports additional stat
  444. files in a cgroup which can be useful for debugging.
  445. config KERNEL_NET_CLS_CGROUP
  446. bool "Control Group Classifier"
  447. default y
  448. config KERNEL_NETPRIO_CGROUP
  449. bool "Network priority cgroup"
  450. default y
  451. endif
  452. #
  453. # Namespace support symbols
  454. #
  455. config KERNEL_NAMESPACES
  456. bool "Enable kernel namespaces"
  457. default n
  458. if KERNEL_NAMESPACES
  459. config KERNEL_UTS_NS
  460. bool "UTS namespace"
  461. default y
  462. help
  463. In this namespace, tasks see different info provided
  464. with the uname() system call.
  465. config KERNEL_IPC_NS
  466. bool "IPC namespace"
  467. default y
  468. help
  469. In this namespace, tasks work with IPC ids which correspond to
  470. different IPC objects in different namespaces.
  471. config KERNEL_USER_NS
  472. bool "User namespace (EXPERIMENTAL)"
  473. default y
  474. help
  475. This allows containers, i.e. vservers, to use user namespaces
  476. to provide different user info for different servers.
  477. config KERNEL_PID_NS
  478. bool "PID Namespaces"
  479. default y
  480. help
  481. Support process id namespaces. This allows having multiple
  482. processes with the same pid as long as they are in different
  483. pid namespaces. This is a building block of containers.
  484. config KERNEL_NET_NS
  485. bool "Network namespace"
  486. default y
  487. help
  488. Allow user space to create what appear to be multiple instances
  489. of the network stack.
  490. endif
  491. #
  492. # LXC related symbols
  493. #
  494. config KERNEL_LXC_MISC
  495. bool "Enable miscellaneous LXC related options"
  496. default n
  497. if KERNEL_LXC_MISC
  498. config KERNEL_DEVPTS_MULTIPLE_INSTANCES
  499. bool "Support multiple instances of devpts"
  500. default y
  501. help
  502. Enable support for multiple instances of devpts filesystem.
  503. If you want to have isolated PTY namespaces (eg: in containers),
  504. say Y here. Otherwise, say N. If enabled, each mount of devpts
  505. filesystem with the '-o newinstance' option will create an
  506. independent PTY namespace.
  507. config KERNEL_POSIX_MQUEUE
  508. bool "POSIX Message Queues"
  509. default y
  510. help
  511. POSIX variant of message queues is a part of IPC. In POSIX message
  512. queues every message has a priority which decides about succession
  513. of receiving it by a process. If you want to compile and run
  514. programs written e.g. for Solaris with use of its POSIX message
  515. queues (functions mq_*) say Y here.
  516. POSIX message queues are visible as a filesystem called 'mqueue'
  517. and can be mounted somewhere if you want to do filesystem
  518. operations on message queues.
  519. endif
  520. config KERNEL_SECCOMP_FILTER
  521. bool
  522. default n
  523. config KERNEL_SECCOMP
  524. bool "Enable seccomp support"
  525. depends on !(TARGET_uml)
  526. select KERNEL_SECCOMP_FILTER
  527. default n
  528. help
  529. Build kernel with support for seccomp.
  530. #
  531. # IPv4 configuration
  532. #
  533. config KERNEL_IP_MROUTE
  534. bool "Enable IPv4 multicast routing"
  535. default y
  536. help
  537. Multicast routing requires a multicast routing daemon in
  538. addition to kernel support.
  539. #
  540. # IPv6 configuration
  541. #
  542. config KERNEL_IPV6
  543. def_bool IPV6
  544. if KERNEL_IPV6
  545. config KERNEL_IPV6_MULTIPLE_TABLES
  546. def_bool y
  547. config KERNEL_IPV6_SUBTREES
  548. def_bool y
  549. config KERNEL_IPV6_MROUTE
  550. bool "Enable IPv6 multicast routing"
  551. default y
  552. help
  553. Multicast routing requires a multicast routing daemon in
  554. addition to kernel support.
  555. config KERNEL_IPV6_PIMSM_V2
  556. def_bool n
  557. endif
  558. #
  559. # NFS related symbols
  560. #
  561. config KERNEL_IP_PNP
  562. bool "Compile the kernel with rootfs on NFS"
  563. help
  564. If you want to make your kernel boot off a NFS server as root
  565. filesystem, select Y here.
  566. if KERNEL_IP_PNP
  567. config KERNEL_IP_PNP_DHCP
  568. def_bool y
  569. config KERNEL_IP_PNP_BOOTP
  570. def_bool n
  571. config KERNEL_IP_PNP_RARP
  572. def_bool n
  573. config KERNEL_NFS_FS
  574. def_bool y
  575. config KERNEL_NFS_V2
  576. def_bool y
  577. config KERNEL_NFS_V3
  578. def_bool y
  579. config KERNEL_ROOT_NFS
  580. def_bool y
  581. endif
  582. menu "Filesystem ACL and attr support options"
  583. config USE_FS_ACL_ATTR
  584. bool "Use filesystem ACL and attr support by default"
  585. default n
  586. help
  587. Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default
  588. for kernel and packages, except tmpfs, flash filesystems,
  589. and old NFS. Also enable userspace extended attribute support
  590. by default. (libreCMC already has an expection it will be
  591. present in the kernel).
  592. config KERNEL_FS_POSIX_ACL
  593. bool "Enable POSIX ACL support"
  594. default y if USE_FS_ACL_ATTR
  595. config KERNEL_BTRFS_FS_POSIX_ACL
  596. bool "Enable POSIX ACL for BtrFS Filesystems"
  597. select KERNEL_FS_POSIX_ACL
  598. default y if USE_FS_ACL_ATTR
  599. config KERNEL_EXT4_FS_POSIX_ACL
  600. bool "Enable POSIX ACL for Ext4 Filesystems"
  601. select KERNEL_FS_POSIX_ACL
  602. default y if USE_FS_ACL_ATTR
  603. config KERNEL_F2FS_FS_POSIX_ACL
  604. bool "Enable POSIX ACL for F2FS Filesystems"
  605. select KERNEL_FS_POSIX_ACL
  606. default n
  607. config KERNEL_JFFS2_FS_POSIX_ACL
  608. bool "Enable POSIX ACL for JFFS2 Filesystems"
  609. select KERNEL_FS_POSIX_ACL
  610. default n
  611. config KERNEL_TMPFS_POSIX_ACL
  612. bool "Enable POSIX ACL for TMPFS Filesystems"
  613. select KERNEL_FS_POSIX_ACL
  614. default n
  615. config KERNEL_CIFS_ACL
  616. bool "Enable CIFS ACLs"
  617. select KERNEL_FS_POSIX_ACL
  618. default y if USE_FS_ACL_ATTR
  619. config KERNEL_HFS_FS_POSIX_ACL
  620. bool "Enable POSIX ACL for HFS Filesystems"
  621. select KERNEL_FS_POSIX_ACL
  622. default y if USE_FS_ACL_ATTR
  623. config KERNEL_HFSPLUG_FS_POSIX_ACL
  624. bool "Enable POSIX ACL for HFS+ Filesystems"
  625. select KERNEL_FS_POSIX_ACL
  626. default y if USE_FS_ACL_ATTR
  627. config KERNEL_NFS_ACL_SUPPORT
  628. bool "Enable ACLs for NFS"
  629. default y if USE_FS_ACL_ATTR
  630. config KERNEL_NFS_V3_ACL_SUPPORT
  631. bool "Enable ACLs for NFSv3"
  632. default n
  633. config KERNEL_NFSD_V2_ACL_SUPPORT
  634. bool "Enable ACLs for NFSDv2"
  635. default n
  636. config KERNEL_NFSD_V3_ACL_SUPPORT
  637. bool "Enable ACLs for NFSDv3"
  638. default n
  639. config KERNEL_REISER_FS_POSIX_ACL
  640. bool "Enable POSIX ACLs for ReiserFS"
  641. select KERNEL_FS_POSIX_ACL
  642. default y if USE_FS_ACL_ATTR
  643. config KERNEL_XFS_POSIX_ACL
  644. bool "Enable POSIX ACLs for XFS"
  645. select KERNEL_FS_POSIX_ACL
  646. default y if USE_FS_ACL_ATTR
  647. config KERNEL_JFS_POSIX_ACL
  648. bool "Enable POSIX ACLs for JFS"
  649. select KERNEL_FS_POSIX_ACL
  650. default y if USE_FS_ACL_ATTR
  651. endmenu
  652. config KERNEL_DEVMEM
  653. bool "/dev/mem virtual device support"
  654. help
  655. Say Y here if you want to support the /dev/mem device.
  656. The /dev/mem device is used to access areas of physical
  657. memory.
  658. config KERNEL_DEVKMEM
  659. bool "/dev/kmem virtual device support"
  660. help
  661. Say Y here if you want to support the /dev/kmem device. The
  662. /dev/kmem device is rarely used, but can be used for certain
  663. kind of kernel debugging operations.
  664. config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE
  665. int "Number of squashfs fragments cached"
  666. default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
  667. default 3
  668. #
  669. # compile optimiziation setting
  670. #
  671. choice
  672. prompt "Compiler optimization level"
  673. default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH
  674. config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE
  675. bool "Optimize for performance"
  676. help
  677. This is the default optimization level for the kernel, building
  678. with the "-O2" compiler flag for best performance and most
  679. helpful compile-time warnings.
  680. config KERNEL_CC_OPTIMIZE_FOR_SIZE
  681. bool "Optimize for size"
  682. help
  683. Enabling this option will pass "-Os" instead of "-O2" to
  684. your compiler resulting in a smaller kernel.
  685. endchoice