Config.in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  1. # Copyright (C) 2006-2012 OpenWrt.org
  2. #
  3. # This is free software, licensed under the GNU General Public License v2.
  4. # See /LICENSE for more information.
  5. #
  6. mainmenu "OpenWrt Configuration"
  7. config MODULES
  8. bool
  9. default y
  10. config HAVE_DOT_CONFIG
  11. bool
  12. default y
  13. source "target/Config.in"
  14. menu "Target Images"
  15. menuconfig TARGET_ROOTFS_INITRAMFS
  16. bool "ramdisk"
  17. default y if USES_INITRAMFS
  18. help
  19. Embed the rootfs into the kernel (initramfs)
  20. choice
  21. prompt "Compression"
  22. default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
  23. default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
  24. default TARGET_INITRAMFS_COMPRESSION_NONE
  25. depends on TARGET_ROOTFS_INITRAMFS
  26. help
  27. Select ramdisk compression.
  28. config TARGET_INITRAMFS_COMPRESSION_NONE
  29. bool "none"
  30. config TARGET_INITRAMFS_COMPRESSION_GZIP
  31. bool "gzip"
  32. config TARGET_INITRAMFS_COMPRESSION_BZIP2
  33. bool "bzip2"
  34. config TARGET_INITRAMFS_COMPRESSION_LZMA
  35. bool "lzma"
  36. config TARGET_INITRAMFS_COMPRESSION_LZO
  37. bool "lzo"
  38. config TARGET_INITRAMFS_COMPRESSION_XZ
  39. bool "xz"
  40. endchoice
  41. config EXTERNAL_CPIO
  42. string
  43. prompt "Use external cpio" if TARGET_ROOTFS_INITRAMFS
  44. default ""
  45. help
  46. Kernel uses specified external cpio as INITRAMFS_SOURCE
  47. comment "Root filesystem archives"
  48. config TARGET_ROOTFS_CPIOGZ
  49. bool "cpio.gz"
  50. default y if USES_CPIOGZ
  51. help
  52. Build a compressed cpio archive of the the root filesystem
  53. config TARGET_ROOTFS_TARGZ
  54. bool "tar.gz"
  55. default y if USES_TARGZ
  56. help
  57. Build a compressed tar archive of the the root filesystem
  58. comment "Root filesystem images"
  59. config TARGET_ROOTFS_EXT4FS
  60. bool "ext4"
  61. default y if USES_EXT4
  62. depends on !TARGET_ROOTFS_INITRAMFS
  63. help
  64. Ext4 file system with some free space for uml images
  65. config TARGET_ROOTFS_ISO
  66. bool "iso"
  67. default n
  68. depends on TARGET_x86_generic
  69. depends on !TARGET_ROOTFS_INITRAMFS
  70. help
  71. Create some bootable ISO image
  72. config TARGET_ROOTFS_JFFS2
  73. bool "jffs2"
  74. default y if USES_JFFS2
  75. depends on !TARGET_ROOTFS_INITRAMFS
  76. help
  77. Build a jffs2 root filesystem
  78. config TARGET_ROOTFS_JFFS2_NAND
  79. bool "jffs2 for NAND"
  80. default y if USES_JFFS2_NAND
  81. depends on !TARGET_ROOTFS_INITRAMFS && USES_JFFS2_NAND
  82. help
  83. Build a jffs2 root filesystem for NAND flash
  84. config TARGET_ROOTFS_SQUASHFS
  85. bool "squashfs"
  86. default y if USES_SQUASHFS
  87. depends on !TARGET_ROOTFS_INITRAMFS
  88. help
  89. Build a squashfs-lzma root filesystem
  90. config TARGET_ROOTFS_UBIFS
  91. bool "ubifs"
  92. default y if USES_UBIFS
  93. depends on !TARGET_ROOTFS_INITRAMFS && USES_UBIFS
  94. help
  95. Build a ubifs root filesystem
  96. comment "Image Options"
  97. source "target/linux/*/image/Config.in"
  98. config TARGET_ROOTFS_PARTSIZE
  99. int "Root filesystem partition size (in MB)"
  100. depends on X86_GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532
  101. default 48
  102. help
  103. Allows you to change the root filesystem partition size
  104. config TARGET_ROOTFS_MAXINODE
  105. int "Maximum number of inodes in root filesystem"
  106. depends on TARGET_ROOTFS_EXT4FS
  107. default 6000
  108. help
  109. Allows you to change the maximum number of inodes in the root filesystem
  110. config TARGET_ROOTFS_RESERVED_PCT
  111. int "Percentage of reserved blocks in root filesystem"
  112. depends on TARGET_ROOTFS_EXT4FS
  113. default 0
  114. help
  115. Allows you to change the percentage of reserved blocks in the root filesystem
  116. endmenu
  117. menu "Global build settings"
  118. config ALL
  119. bool "Select all packages by default"
  120. default n
  121. comment "General build options"
  122. config DISPLAY_SUPPORT
  123. bool "Show packages that require graphics support (local or remote)"
  124. default n
  125. config BUILD_PATENTED
  126. default y
  127. bool "Compile with support for patented functionality"
  128. help
  129. When this option is disabled, software which provides patented functionality will not be built.
  130. In case software provides optional support for patented functionality,
  131. this optional support will get disabled for this package.
  132. config BUILD_NLS
  133. default n
  134. bool "Compile with full language support"
  135. help
  136. When this option is enabled, packages are built with the full versions of iconv and GNU gettext
  137. instead of the default OpenWrt stubs. If uClibc is used, it is also built with locale support.
  138. config BUILD_STATIC_TOOLS
  139. default n
  140. bool "Attempt to link host utilities statically"
  141. help
  142. Linking host utilities like sed or firmware-utils statically increases the portability of the
  143. generated ImageBuilder and SDK tarballs, however it may fail on some Linux distributions.
  144. config SHADOW_PASSWORDS
  145. bool
  146. prompt "Enable shadow password support"
  147. default y
  148. help
  149. Enable shadow password support.
  150. config CLEAN_IPKG
  151. bool
  152. prompt "Remove ipkg/opkg status data files in final images"
  153. default n
  154. help
  155. This removes all ipkg/opkg status data files from the target directory before building the root fs
  156. config COLLECT_KERNEL_DEBUG
  157. bool
  158. prompt "Collect kernel debug information"
  159. select KERNEL_DEBUG_INFO
  160. default n
  161. help
  162. This collects debugging symbols from the kernel and all compiled modules.
  163. Useful for release builds, so that kernel issues can be debugged offline later.
  164. comment "Kernel build options"
  165. config KERNEL_DEBUG_FS
  166. bool "Compile the kernel with Debug FileSystem enabled"
  167. default y
  168. help
  169. debugfs is a virtual file system that kernel developers use to put
  170. debugging files into. Enable this option to be able to read and
  171. write to these files.
  172. config KERNEL_PERF_EVENTS
  173. bool
  174. default n
  175. config KERNEL_PROFILING
  176. bool "Compile the kernel with profiling enabled"
  177. default n
  178. select KERNEL_PERF_EVENTS
  179. help
  180. Enable the extended profiling support mechanisms used by profilers such
  181. as OProfile.
  182. config KERNEL_KALLSYMS
  183. bool "Compile the kernel with symbol table information"
  184. default y
  185. help
  186. This will give you more information in stack traces from kernel oopses
  187. config KERNEL_FTRACE
  188. bool "Compile the kernel with tracing support"
  189. default n
  190. config KERNEL_ENABLE_DEFAULT_TRACERS
  191. bool "Trace process context switches and events"
  192. depends on KERNEL_FTRACE
  193. default n
  194. config KERNEL_DEBUG_KERNEL
  195. bool
  196. default n
  197. config KERNEL_DEBUG_INFO
  198. bool "Compile the kernel with debug information"
  199. default y
  200. select KERNEL_DEBUG_KERNEL
  201. help
  202. This will compile your kernel and modules with debug information.
  203. config KERNEL_DEBUG_LL_UART_NONE
  204. bool
  205. default n
  206. depends on arm
  207. config KERNEL_DEBUG_LL
  208. bool
  209. default n
  210. depends on arm
  211. select KERNEL_DEBUG_LL_UART_NONE
  212. help
  213. ARM low level debugging
  214. config KERNEL_EARLY_PRINTK
  215. bool "Compile the kernel with early printk"
  216. default n
  217. depends on arm
  218. select KERNEL_DEBUG_KERNEL
  219. select KERNEL_DEBUG_LL if arm
  220. help
  221. Compile the kernel with early printk support.
  222. This is only useful for debugging purposes to send messages
  223. over the serial console in early boot.
  224. Enable this to debug early boot problems.
  225. config KERNEL_AIO
  226. bool "Compile the kernel with asynchronous IO support"
  227. default n
  228. config KERNEL_DIRECT_IO
  229. bool "Compile the kernel with direct IO support"
  230. default n
  231. config KERNEL_MAGIC_SYSRQ
  232. bool "Compile the kernel with SysRq support"
  233. default y
  234. config KERNEL_COREDUMP
  235. bool
  236. config KERNEL_ELF_CORE
  237. bool "Enable process core dump support"
  238. select KERNEL_COREDUMP
  239. default y
  240. config KERNEL_PROVE_LOCKING
  241. bool "Enable kernel lock checking"
  242. select KERNEL_DEBUG_KERNEL
  243. default n
  244. config KERNEL_PRINTK_TIME
  245. bool "Enable printk timestamps"
  246. default y
  247. config KERNEL_RELAY
  248. bool
  249. #
  250. # CGROUP support symbols
  251. #
  252. config KERNEL_CGROUPS
  253. bool "Enable kernel cgroups"
  254. default n
  255. if KERNEL_CGROUPS
  256. config KERNEL_CGROUP_DEBUG
  257. bool "Example debug cgroup subsystem"
  258. default n
  259. help
  260. This option enables a simple cgroup subsystem that
  261. exports useful debugging information about the cgroups
  262. framework.
  263. config KERNEL_FREEZER
  264. bool
  265. default y if KERNEL_CGROUP_FREEZER
  266. config KERNEL_CGROUP_FREEZER
  267. bool "Freezer cgroup subsystem"
  268. default n
  269. help
  270. Provides a way to freeze and unfreeze all tasks in a
  271. cgroup.
  272. config KERNEL_CGROUP_DEVICE
  273. bool "Device controller for cgroups"
  274. default y
  275. help
  276. Provides a cgroup implementing whitelists for devices which
  277. a process in the cgroup can mknod or open.
  278. config KERNEL_CPUSETS
  279. bool "Cpuset support"
  280. default n
  281. help
  282. This option will let you create and manage CPUSETs which
  283. allow dynamically partitioning a system into sets of CPUs and
  284. Memory Nodes and assigning tasks to run only within those sets.
  285. This is primarily useful on large SMP or NUMA systems.
  286. config KERNEL_PROC_PID_CPUSET
  287. bool "Include legacy /proc/<pid>/cpuset file"
  288. default n
  289. depends on KERNEL_CPUSETS
  290. config KERNEL_CGROUP_CPUACCT
  291. bool "Simple CPU accounting cgroup subsystem"
  292. default n
  293. help
  294. Provides a simple Resource Controller for monitoring the
  295. total CPU consumed by the tasks in a cgroup.
  296. config KERNEL_RESOURCE_COUNTERS
  297. bool "Resource counters"
  298. default n
  299. help
  300. This option enables controller independent resource accounting
  301. infrastructure that works with cgroups.
  302. config KERNEL_MM_OWNER
  303. bool
  304. default y if KERNEL_MEMCG
  305. config KERNEL_MEMCG
  306. bool "Memory Resource Controller for Control Groups"
  307. default n
  308. depends on KERNEL_RESOURCE_COUNTERS
  309. help
  310. Provides a memory resource controller that manages both anonymous
  311. memory and page cache. (See Documentation/cgroups/memory.txt)
  312. Note that setting this option increases fixed memory overhead
  313. associated with each page of memory in the system. By this,
  314. 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  315. usage tracking struct at boot. Total amount of this is printed out
  316. at boot.
  317. Only enable when you're ok with these trade offs and really
  318. sure you need the memory resource controller. Even when you enable
  319. this, you can set "cgroup_disable=memory" at your boot option to
  320. disable memory resource controller and you can avoid overheads.
  321. (and lose benefits of memory resource controller)
  322. This config option also selects MM_OWNER config option, which
  323. could in turn add some fork/exit overhead.
  324. config KERNEL_MEMCG_SWAP
  325. bool "Memory Resource Controller Swap Extension"
  326. default n
  327. depends on KERNEL_MEMCG
  328. help
  329. Add swap management feature to memory resource controller. When you
  330. enable this, you can limit mem+swap usage per cgroup. In other words,
  331. when you disable this, memory resource controller has no cares to
  332. usage of swap...a process can exhaust all of the swap. This extension
  333. is useful when you want to avoid exhaustion swap but this itself
  334. adds more overheads and consumes memory for remembering information.
  335. Especially if you use 32bit system or small memory system, please
  336. be careful about enabling this. When memory resource controller
  337. is disabled by boot option, this will be automatically disabled and
  338. there will be no overhead from this. Even when you set this config=y,
  339. if boot option "swapaccount=0" is set, swap will not be accounted.
  340. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
  341. size is 4096bytes, 512k per 1Gbytes of swap.
  342. config KERNEL_MEMCG_SWAP_ENABLED
  343. bool "Memory Resource Controller Swap Extension enabled by default"
  344. default n
  345. depends on KERNEL_MEMCG_SWAP
  346. help
  347. Memory Resource Controller Swap Extension comes with its price in
  348. a bigger memory consumption. General purpose distribution kernels
  349. which want to enable the feature but keep it disabled by default
  350. and let the user enable it by swapaccount boot command line
  351. parameter should have this option unselected.
  352. For those who want to have the feature enabled by default should
  353. select this option (if, for some reason, they need to disable it
  354. then swapaccount=0 does the trick).
  355. config KERNEL_MEMCG_KMEM
  356. bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
  357. default n
  358. depends on KERNEL_MEMCG
  359. help
  360. The Kernel Memory extension for Memory Resource Controller can limit
  361. the amount of memory used by kernel objects in the system. Those are
  362. fundamentally different from the entities handled by the standard
  363. Memory Controller, which are page-based, and can be swapped. Users of
  364. the kmem extension can use it to guarantee that no group of processes
  365. will ever exhaust kernel resources alone.
  366. config KERNEL_PERF_EVENTS
  367. bool
  368. default y if KERNEL_CGROUP_PERF
  369. config KERNEL_CGROUP_PERF
  370. bool "Enable perf_event per-cpu per-container group (cgroup) monitoring"
  371. default n
  372. help
  373. This option extends the per-cpu mode to restrict monitoring to
  374. threads which belong to the cgroup specified and run on the
  375. designated cpu.
  376. menuconfig KERNEL_CGROUP_SCHED
  377. bool "Group CPU scheduler"
  378. default n
  379. help
  380. This feature lets CPU scheduler recognize task groups and control CPU
  381. bandwidth allocation to such task groups. It uses cgroups to group
  382. tasks.
  383. if KERNEL_CGROUP_SCHED
  384. config KERNEL_FAIR_GROUP_SCHED
  385. bool "Group scheduling for SCHED_OTHER"
  386. default n
  387. config KERNEL_CFS_BANDWIDTH
  388. bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
  389. default n
  390. depends on KERNEL_FAIR_GROUP_SCHED
  391. help
  392. This option allows users to define CPU bandwidth rates (limits) for
  393. tasks running within the fair group scheduler. Groups with no limit
  394. set are considered to be unconstrained and will run with no
  395. restriction.
  396. See tip/Documentation/scheduler/sched-bwc.txt for more information.
  397. config KERNEL_RT_GROUP_SCHED
  398. bool "Group scheduling for SCHED_RR/FIFO"
  399. default n
  400. help
  401. This feature lets you explicitly allocate real CPU bandwidth
  402. to task groups. If enabled, it will also make it impossible to
  403. schedule realtime tasks for non-root users until you allocate
  404. realtime bandwidth for them.
  405. endif
  406. config KERNEL_BLK_CGROUP
  407. bool "Block IO controller"
  408. default y
  409. help
  410. Generic block IO controller cgroup interface. This is the common
  411. cgroup interface which should be used by various IO controlling
  412. policies.
  413. Currently, CFQ IO scheduler uses it to recognize task groups and
  414. control disk bandwidth allocation (proportional time slice allocation)
  415. to such task groups. It is also used by bio throttling logic in
  416. block layer to implement upper limit in IO rates on a device.
  417. This option only enables generic Block IO controller infrastructure.
  418. One needs to also enable actual IO controlling logic/policy. For
  419. enabling proportional weight division of disk bandwidth in CFQ, set
  420. CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
  421. CONFIG_BLK_DEV_THROTTLING=y.
  422. config KERNEL_DEBUG_BLK_CGROUP
  423. bool "Enable Block IO controller debugging"
  424. default n
  425. depends on KERNEL_BLK_CGROUP
  426. help
  427. Enable some debugging help. Currently it exports additional stat
  428. files in a cgroup which can be useful for debugging.
  429. config KERNEL_NET_CLS_CGROUP
  430. bool "Control Group Classifier"
  431. default y
  432. config KERNEL_NETPRIO_CGROUP
  433. bool "Network priority cgroup"
  434. default y
  435. endif
  436. #
  437. # Namespace support symbols
  438. #
  439. config KERNEL_NAMESPACES
  440. bool "Enable kernel namespaces"
  441. default n
  442. if KERNEL_NAMESPACES
  443. config KERNEL_UTS_NS
  444. bool "UTS namespace"
  445. default y
  446. help
  447. In this namespace tasks see different info provided
  448. with the uname() system call
  449. config KERNEL_IPC_NS
  450. bool "IPC namespace"
  451. default y
  452. help
  453. In this namespace tasks work with IPC ids which correspond to
  454. different IPC objects in different namespaces.
  455. config KERNEL_USER_NS
  456. bool "User namespace (EXPERIMENTAL)"
  457. default y
  458. help
  459. This allows containers, i.e. vservers, to use user namespaces
  460. to provide different user info for different servers.
  461. config KERNEL_PID_NS
  462. bool "PID Namespaces"
  463. default y
  464. help
  465. Support process id namespaces. This allows having multiple
  466. processes with the same pid as long as they are in different
  467. pid namespaces. This is a building block of containers.
  468. config KERNEL_NET_NS
  469. bool "Network namespace"
  470. default y
  471. help
  472. Allow user space to create what appear to be multiple instances
  473. of the network stack.
  474. endif
  475. #
  476. # LXC related symbols
  477. #
  478. config KERNEL_LXC_MISC
  479. bool "Enable miscellaneous LXC related options"
  480. default n
  481. if KERNEL_LXC_MISC
  482. config KERNEL_DEVPTS_MULTIPLE_INSTANCES
  483. bool "Support multiple instances of devpts"
  484. default y
  485. help
  486. Enable support for multiple instances of devpts filesystem.
  487. If you want to have isolated PTY namespaces (eg: in containers),
  488. say Y here. Otherwise, say N. If enabled, each mount of devpts
  489. filesystem with the '-o newinstance' option will create an
  490. independent PTY namespace.
  491. config KERNEL_POSIX_MQUEUE
  492. bool "POSIX Message Queues"
  493. default n
  494. help
  495. POSIX variant of message queues is a part of IPC. In POSIX message
  496. queues every message has a priority which decides about succession
  497. of receiving it by a process. If you want to compile and run
  498. programs written e.g. for Solaris with use of its POSIX message
  499. queues (functions mq_*) say Y here.
  500. POSIX message queues are visible as a filesystem called 'mqueue'
  501. and can be mounted somewhere if you want to do filesystem
  502. operations on message queues.
  503. endif
  504. comment "Package build options"
  505. config DEBUG
  506. bool
  507. prompt "Compile packages with debugging info"
  508. default n
  509. help
  510. Adds -g3 to the CFLAGS
  511. config IPV6
  512. bool
  513. prompt "Enable IPv6 support in packages"
  514. default y
  515. help
  516. Enable IPV6 support in packages (passes --enable-ipv6 to configure scripts).
  517. config PKG_BUILD_PARALLEL
  518. bool
  519. prompt "Compile certain packages parallelized"
  520. default y
  521. help
  522. This adds a -jX option to certain packages that are known to
  523. behave well for parallel build. By default the package make processes
  524. use the main jobserver, in which case this option only takes effect
  525. when you add -jX to the make command.
  526. If you are unsure, select N.
  527. config PKG_BUILD_USE_JOBSERVER
  528. bool
  529. prompt "Use top-level make jobserver for packages"
  530. depends on PKG_BUILD_PARALLEL
  531. default y
  532. help
  533. This passes the main make process jobserver fds to package builds,
  534. enabling full parallelization across different packages
  535. Note that disabling this may overcommit CPU resources depending on the
  536. -j level of the main make process, the number of package
  537. submake jobs selected below and the number of actual CPUs present.
  538. Example: If the main make is passed a -j4 and the submake -j
  539. is also set to 4, we may end up with 16 parallel make processes
  540. in the worst case.
  541. config PKG_BUILD_JOBS
  542. int
  543. prompt "Number of package submake jobs (2-512)"
  544. range 2 512
  545. default 2
  546. depends on PKG_BUILD_PARALLEL && !PKG_BUILD_USE_JOBSERVER
  547. help
  548. The number of jobs (-jX) to pass to packages submake.
  549. config PKG_DEFAULT_PARALLEL
  550. bool
  551. prompt "Parallelize the default package build rule (May break build)"
  552. depends on PKG_BUILD_PARALLEL
  553. depends on BROKEN
  554. default n
  555. help
  556. Always set the default package build rules to parallel build.
  557. WARNING: This may break build or kill your cat, as it builds
  558. packages with multiple jobs that are probably not tested in
  559. a parallel build environment.
  560. Only say Y, if you don't mind fixing broken packages.
  561. Before reporting build bugs, set this to N and re-run the build.
  562. comment "Stripping options"
  563. choice
  564. prompt "Binary stripping method"
  565. default USE_STRIP if EXTERNAL_TOOLCHAIN
  566. default USE_STRIP if USE_GLIBC || USE_EGLIBC || USE_MUSL
  567. default USE_SSTRIP
  568. help
  569. Select the binary stripping method you wish to use.
  570. config NO_STRIP
  571. bool "none"
  572. help
  573. This will install unstripped binaries (useful for native compiling/debugging)
  574. config USE_STRIP
  575. bool "strip"
  576. help
  577. This will install binaries stripped using strip from binutils
  578. config USE_SSTRIP
  579. bool "sstrip"
  580. depends on !DEBUG
  581. depends on !USE_GLIBC
  582. depends on !USE_EGLIBC
  583. help
  584. This will install binaries stripped using sstrip
  585. endchoice
  586. config STRIP_ARGS
  587. string
  588. prompt "Strip arguments"
  589. depends on USE_STRIP
  590. default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG
  591. default "--strip-all"
  592. help
  593. Specifies arguments passed to the strip command when stripping binaries
  594. config STRIP_KERNEL_EXPORTS
  595. bool "Strip unnecessary exports from the kernel image"
  596. help
  597. Reduces kernel size by stripping unused kernel exports from the kernel image
  598. Note that this might make the kernel incompatible with any kernel modules that
  599. were not selected at the time the kernel image was created
  600. config USE_MKLIBS
  601. bool "Strip unnecessary functions from libraries"
  602. help
  603. Reduces libraries to only those functions that are necessary for using all
  604. selected packages (including those selected as <M>)
  605. Note that this will make the system libraries incompatible with most of the packages
  606. that are not selected during the build process
  607. choice
  608. prompt "Preferred standard C++ library"
  609. default USE_LIBSTDCXX if USE_EGLIBC
  610. default USE_UCLIBCXX
  611. help
  612. Select the preferred standard C++ library for all packages that support this.
  613. config USE_UCLIBCXX
  614. bool "uClibc++"
  615. config USE_LIBSTDCXX
  616. bool "libstdc++"
  617. endchoice
  618. endmenu
  619. menuconfig DEVEL
  620. bool "Advanced configuration options (for developers)"
  621. default n
  622. config BROKEN
  623. bool "Show broken platforms / packages" if DEVEL
  624. default n
  625. config DOWNLOAD_FOLDER
  626. string "Download folder" if DEVEL
  627. default ""
  628. config LOCALMIRROR
  629. string "Local mirror for source packages" if DEVEL
  630. default ""
  631. config AUTOREBUILD
  632. bool "Automatic rebuild of packages" if DEVEL
  633. default y
  634. help
  635. Automatically rebuild packages when their files change
  636. config BUILD_SUFFIX
  637. string "Build suffix to append to the BUILD_DIR variable" if DEVEL
  638. default ""
  639. help
  640. Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
  641. config TARGET_ROOTFS_DIR
  642. string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
  643. default ""
  644. help
  645. Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with custom path.
  646. Use this option to re-define the location of the target root file system directory.
  647. config CCACHE
  648. bool "Use ccache" if DEVEL
  649. default n
  650. help
  651. Compiler cache; see http://ccache.samba.org/
  652. config EXTERNAL_KERNEL_TREE
  653. string "Use external kernel tree" if DEVEL
  654. default ""
  655. config KERNEL_GIT_CLONE_URI
  656. string "Enter git repository to clone" if DEVEL
  657. default ""
  658. help
  659. Enter the full git repository path i.e.:
  660. git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
  661. This will create a git clone of the kernel in your build
  662. directory.
  663. config KERNEL_GIT_LOCAL_REPOSITORY
  664. string "Enter path to local reference repository" if DEVEL
  665. default ""
  666. help
  667. Enter a full pathname to a local reference git repository.
  668. In this instance, the --refererence option of git clone will
  669. be used thus creating a quick local clone of your repo.
  670. config BUILD_LOG
  671. bool "Enable log files during build process" if DEVEL
  672. help
  673. If enabled log files will be written to the ./log directory
  674. config SRC_TREE_OVERRIDE
  675. bool "Enable package source tree override" if DEVEL
  676. help
  677. If enabled, you can force a package to use a git tree as source
  678. code instead of the normal tarball. Create a symlink 'git-src'
  679. in the package directory, pointing to the .git tree that you want
  680. to pull the source code from
  681. menuconfig TARGET_OPTIONS
  682. bool "Target Options" if DEVEL
  683. config TARGET_OPTIMIZATION
  684. string "Target Optimizations" if TARGET_OPTIONS
  685. default DEFAULT_TARGET_OPTIMIZATION
  686. help
  687. Optimizations to use when building for the target host.
  688. config SOFT_FLOAT
  689. bool "Use software floating point by default" if TARGET_OPTIONS
  690. default y
  691. depends on (arm || armeb || powerpc || mipsel || mips || mips64el || mips64) && !HAS_FPU
  692. help
  693. If your target CPU does not have a Floating Point Unit (FPU) or a
  694. kernel FPU emulator, but you still wish to support floating point
  695. functions, then everything will need to be compiled with soft floating
  696. point support (-msoft-float).
  697. Most people will answer N.
  698. config USE_MIPS16
  699. bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
  700. depends on HAS_MIPS16
  701. help
  702. If your target CPU does support the MIPS16 instruction set
  703. and you want to use it for packages, enable this option.
  704. MIPS16 produces smaller binaries thus reducing pressure on
  705. caches and TLB.
  706. Most people will answer N.
  707. source "toolchain/Config.in"
  708. source "target/imagebuilder/Config.in"
  709. source "target/sdk/Config.in"
  710. source "target/toolchain/Config.in"
  711. source "tmp/.config-package.in"