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