add new option for enabling debugging symbols
[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 n
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
86 config ALL
87         bool "Select all packages by default"
88         default n
89
90 menuconfig DEVEL
91         bool "Advanced configuration options (for developers)"
92         default n
93         select BUILDOPTS
94         select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
95
96 config BROKEN
97         bool
98         prompt "Show broken platforms / packages" if DEVEL
99         default n
100
101 config LOCALMIRROR
102         string
103         prompt "Local mirror for source packages" if DEVEL
104
105 menuconfig BUILDOPTS
106         bool
107         prompt "Build Options" if DEVEL
108
109 config DEBUG
110         bool
111         prompt "Enable debugging" if BUILDOPTS
112         select NO_STRIP
113         default n
114         help
115                 Disables stripping and adds -g3 to the CFLAGS
116
117 config NO_STRIP
118         bool "Do not strip generated binaries (enable for native compiling)" if DEVEL
119         default n
120
121 config CLEAN_IPKG
122         bool
123         prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
124         default n
125
126 config AUTOREBUILD
127         bool
128         prompt "Automatic rebuild of packages" if BUILDOPTS
129         default y
130         help
131                 Automatically rebuild packages when their files change
132
133 config BUILD_SUFFIX
134         string
135         prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
136         default ""
137         help
138                 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
139
140 config TAR_VERBOSITY
141         bool 
142         prompt "Tar verbose" if BUILDOPTS
143         default n
144
145 config CCACHE
146         bool
147         prompt "Use ccache" if BUILDOPTS
148         default n
149         help
150                 Compiler cache; see http://ccache.samba.org/
151
152 config EXTERNAL_KERNEL_TREE
153         string
154         prompt "Use external kernel tree" if DEVEL
155         default ""
156
157 source "toolchain/Config.in"
158 menuconfig BUILDSYSTEM_SETTINGS
159     bool "Buildsystem settings" 
160
161 config DOWNLOAD_FOLDER
162         string
163         prompt "Download folder"
164         default ""
165         depends BUILDSYSTEM_SETTINGS 
166 source "target/imagebuilder/Config.in"
167 source "target/sdk/Config.in"
168
169 source "tmp/.config-package.in"
170
171