brcm47xx: remove 2.6.25 support
[openwrt/openwrt.git] / Config.in
1 # Copyright (C) 2006-2007 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 HAVE_DOT_CONFIG
10 bool
11 default y
12
13 source "target/Config.in"
14
15 menu "Target Images"
16 config TARGET_ROOTFS_INITRAMFS
17 bool "ramdisk"
18 default y if USES_INITRAMFS
19 depends LINUX_2_6
20 help
21 Embed the rootfs into the kernel (initramfs)
22
23 config TARGET_ROOTFS_JFFS2
24 bool "jffs2"
25 default y if USES_JFFS2
26 depends !TARGET_ROOTFS_INITRAMFS
27 help
28 Build a jffs2 root filesystem
29
30 config TARGET_ROOTFS_SQUASHFS
31 bool "squashfs"
32 default y if USES_SQUASHFS
33 depends !TARGET_ROOTFS_INITRAMFS
34 help
35 Build a squashfs-lzma root filesystem
36
37 config TARGET_ROOTFS_TGZ
38 bool "tgz"
39 default y if USES_TGZ
40 depends !TARGET_ROOTFS_INITRAMFS
41 help
42 Build a compressed tar archive of the the root filesystem
43
44 config TARGET_ROOTFS_CPIOGZ
45 bool "cpiogz"
46 default y if USES_CPIOGZ
47 depends !TARGET_ROOTFS_INITRAMFS
48 help
49 Build a compressed cpio archive of the the root filesystem
50
51 config TARGET_ROOTFS_EXT2FS
52 bool "ext2"
53 default y if USES_EXT2
54 depends !TARGET_ROOTFS_INITRAMFS
55 help
56 Ext2 file system with some free space for uml images
57
58 config TARGET_ROOTFS_ISO
59 bool "iso"
60 default n
61 depends TARGET_ROOTFS_INITRAMFS && TARGET_x86
62 help
63 Create some bootable ISO image
64
65 comment "Image Options"
66
67 source "target/linux/*/image/Config.in"
68
69 config TARGET_ROOTFS_FSPART
70 int "Filesystem part size (in MB)"
71 depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || TARGET_rb532 || TARGET_olpc
72 default 48
73 help
74 Allows you to change the filesystem partition size
75
76 config TARGET_ROOTFS_MAXINODE
77 int "Maximum number of inodes in filesystem"
78 depends TARGET_ROOTFS_EXT2FS
79 default 6000
80 help
81 Allows you to change the maximum number of inodes in the filesystem
82
83 endmenu
84
85 menu "Global build settings"
86
87 config ALL
88 bool "Select all packages by default"
89 default n
90
91 comment "Features"
92
93 config CLEAN_IPKG
94 bool
95 prompt "Disable ipkg/opkg installation on the target"
96 default n
97 help
98 This removes all ipkg data from the target directory before building the root fs
99
100 comment "Package build options"
101
102 config DEBUG
103 bool
104 prompt "Compile packages with debugging info"
105 default n
106 help
107 Disables stripping and adds -g3 to the CFLAGS
108
109 config DEBUG_DIR
110 bool "Install debugging binaries into a staging directory"
111 default n
112 help
113 This will install all compiled package binaries into build_dir/target-*/debug-*/,
114 useful for cross-debugging via gdb/gdbserver
115
116 config NO_STRIP
117 bool "Install unstripped binary on the target (useful for native compiling/debugging)"
118 default n
119
120 comment "Kernel build options"
121
122 config KERNEL_KALLSYMS
123 bool "Compile the kernel with symbol table information"
124 default n
125 help
126 This will give you more information in stack traces from kernel oopses
127 config KERNEL_PROFILING
128 bool "Compile the kernel with profiling enabled"
129 default n
130 help
131 Enable the extended profiling support mechanisms used by profilers such
132 as OProfile.
133
134 endmenu
135
136 menuconfig DEVEL
137 bool "Advanced configuration options (for developers)"
138 default n
139 select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
140
141 config BROKEN
142 bool
143 prompt "Show broken platforms / packages" if DEVEL
144 default n
145
146 config DOWNLOAD_FOLDER
147 string
148 prompt "Download folder" if DEVEL
149 default ""
150
151 config LOCALMIRROR
152 string
153 prompt "Local mirror for source packages" if DEVEL
154
155 config AUTOREBUILD
156 bool
157 prompt "Automatic rebuild of packages" if DEVEL
158 default y
159 help
160 Automatically rebuild packages when their files change
161
162 config BUILD_SUFFIX
163 string
164 prompt "Build suffix to append to the BUILD_DIR variable" if DEVEL
165 default ""
166 help
167 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
168
169 config TARGET_ROOTFS_DIR
170 string
171 prompt "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
172 default ""
173 help
174 Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with custom path.
175 Use this option to re-define the location of the target root file system directory.
176
177 config CCACHE
178 bool
179 prompt "Use ccache" if DEVEL
180 default n
181 help
182 Compiler cache; see http://ccache.samba.org/
183
184 config EXTERNAL_KERNEL_TREE
185 string
186 prompt "Use external kernel tree" if DEVEL
187 default ""
188
189 config KERNEL_GIT_CLONE_URI
190 string
191 prompt "Enter git repository to clone" if DEVEL
192 default ""
193 help
194 Enter the full git repository path i.e.:
195 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
196 This will create a git clone of the kernel in your build
197 directory.
198
199 config KERNEL_GIT_LOCAL_REPOSITORY
200 string
201 prompt "Enter path to local reference repository" if DEVEL
202 default ""
203 help
204 Enter a full pathname to a local reference git repository.
205 In this instance, the --refererence option of git clone will
206 be used thus creating a quick local clone of your repo.
207
208 source "toolchain/Config.in"
209
210 source "target/imagebuilder/Config.in"
211 source "target/sdk/Config.in"
212
213 source "tmp/.config-package.in"
214
215