1 # Copyright (C) 2006-2007 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 mainmenu "OpenWrt Configuration"
13 source "target/Config.in"
16 config TARGET_ROOTFS_INITRAMFS
18 default y if USES_INITRAMFS
21 Embed the rootfs into the kernel (initramfs)
23 config TARGET_ROOTFS_JFFS2
25 default y if USES_JFFS2
26 depends !TARGET_ROOTFS_INITRAMFS
28 Build a jffs2 root filesystem
30 config TARGET_ROOTFS_SQUASHFS
32 default y if USES_SQUASHFS
33 depends !TARGET_ROOTFS_INITRAMFS
35 Build a squashfs-lzma root filesystem
37 config TARGET_ROOTFS_TGZ
40 depends !TARGET_ROOTFS_INITRAMFS
42 Build a compressed tar archive of the the root filesystem
44 config TARGET_ROOTFS_CPIOGZ
46 default y if USES_CPIOGZ
47 depends !TARGET_ROOTFS_INITRAMFS
49 Build a compressed cpio archive of the the root filesystem
51 config TARGET_ROOTFS_EXT2FS
53 default y if USES_EXT2
54 depends !TARGET_ROOTFS_INITRAMFS
56 Ext2 file system with some free space for uml images
58 config TARGET_ROOTFS_ISO
61 depends TARGET_ROOTFS_INITRAMFS && TARGET_x86
63 Create some bootable ISO image
65 comment "Image Options"
67 source "target/linux/*/image/Config.in"
69 config TARGET_ROOTFS_FSPART
70 int "Filesystem part size (in MB)"
71 depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || TARGET_rb532 || TARGET_olpc
74 Allows you to change the filesystem partition size
76 config TARGET_ROOTFS_MAXINODE
77 int "Maximum number of inodes in filesystem"
78 depends TARGET_ROOTFS_EXT2FS
81 Allows you to change the maximum number of inodes in the filesystem
85 menu "Global build settings"
88 bool "Select all packages by default"
91 comment "General build options"
95 prompt "Disable ipkg/opkg installation on the target"
98 This removes all ipkg data from the target directory before building the root fs
101 prompt "Binary stripping method"
102 default USE_STRIP if USE_GLIBC || USE_EGLIBC
105 Select the binary stripping method you wish to use.
110 This will install unstripped binaries (useful for native compiling/debugging)
116 This will install binaries stripped using strip from binutils
125 This will install binaries stripped using sstrip
130 bool "Strip unnecessary functions from libraries"
132 Reduces libraries to only those functions that are necessary for using all
133 selected packages (including those selected as <M>)
134 Note that this will make the system libraries incompatible with most of the packages
135 that are not selected during the build process
137 comment "Package build options"
141 prompt "Compile packages with debugging info"
144 Disables stripping and adds -g3 to the CFLAGS
147 bool "Install debugging binaries into a staging directory"
150 This will install all compiled package binaries into build_dir/target-*/debug-*/,
151 useful for cross-debugging via gdb/gdbserver
155 prompt "Enable IPv6 support in packages"
158 Enable IPV6 support in packages (passes --enable-ipv6 to configure scripts).
160 comment "Kernel build options"
162 config KERNEL_KALLSYMS
163 bool "Compile the kernel with symbol table information"
166 This will give you more information in stack traces from kernel oopses
167 config KERNEL_PROFILING
168 bool "Compile the kernel with profiling enabled"
171 Enable the extended profiling support mechanisms used by profilers such
177 bool "Advanced configuration options (for developers)"
179 select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
183 prompt "Show broken platforms / packages" if DEVEL
186 config DOWNLOAD_FOLDER
188 prompt "Download folder" if DEVEL
193 prompt "Local mirror for source packages" if DEVEL
197 prompt "Automatic rebuild of packages" if DEVEL
200 Automatically rebuild packages when their files change
204 prompt "Build suffix to append to the BUILD_DIR variable" if DEVEL
207 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
209 config TARGET_ROOTFS_DIR
211 prompt "Override the default TARGET_ROOTFS_DIR variable" if DEVEL
214 Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with custom path.
215 Use this option to re-define the location of the target root file system directory.
219 prompt "Use ccache" if DEVEL
222 Compiler cache; see http://ccache.samba.org/
224 config EXTERNAL_KERNEL_TREE
226 prompt "Use external kernel tree" if DEVEL
229 config KERNEL_GIT_CLONE_URI
231 prompt "Enter git repository to clone" if DEVEL
234 Enter the full git repository path i.e.:
235 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
236 This will create a git clone of the kernel in your build
239 config KERNEL_GIT_LOCAL_REPOSITORY
241 prompt "Enter path to local reference repository" if DEVEL
244 Enter a full pathname to a local reference git repository.
245 In this instance, the --refererence option of git clone will
246 be used thus creating a quick local clone of your repo.
248 source "toolchain/Config.in"
250 source "target/imagebuilder/Config.in"
251 source "target/sdk/Config.in"
253 source "tmp/.config-package.in"