remove some wrong depends/defaults
[oweals/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_TGZ
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 16
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 1500
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 CLEAN_IPKG
110         bool
111         prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
112         default n
113
114 config AUTOREBUILD
115         bool
116         prompt "Automatic rebuild of packages" if BUILDOPTS
117         default y
118         help
119                 Automatically rebuild packages when their files change
120
121 config BUILD_SUFFIX
122         string
123         prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
124         default ""
125         help
126                 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
127
128 config TAR_VERBOSITY
129         bool 
130         prompt "Tar verbose" if BUILDOPTS
131         default n
132
133 config CCACHE
134         bool
135         prompt "Use ccache" if BUILDOPTS
136         default n
137         help
138                 Compiler cache; see http://ccache.samba.org/
139
140 config EXTERNAL_KERNEL_TREE
141         string
142         prompt "Use external kernel tree" if DEVEL
143         default ""
144
145 source "toolchain/Config.in"
146 menuconfig BUILDSYSTEM_SETTINGS
147     bool "Buildsystem settings" 
148
149 config DOWNLOAD_FOLDER
150         string
151         prompt "Download folder"
152         default ""
153         depends BUILDSYSTEM_SETTINGS 
154 source "target/imagebuilder/Config.in"
155 source "target/sdk/Config.in"
156
157 source "tmp/.config-package.in"
158
159