allow SDK to install trunk packages with scripts/feeds & build them, instead of tryin...
[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 DOWNLOAD_FOLDER
102         string
103         prompt "Download folder" if DEVEL
104         default ""
105
106 config LOCALMIRROR
107         string
108         prompt "Local mirror for source packages" if DEVEL
109
110 menuconfig BUILDOPTS
111         bool
112         prompt "Build Options" if DEVEL
113
114 config DEBUG
115         bool
116         prompt "Enable debugging" if BUILDOPTS
117         select NO_STRIP
118         default n
119         help
120                 Disables stripping and adds -g3 to the CFLAGS
121
122 config NO_STRIP
123         bool "Do not strip generated binaries (enable for native compiling)" if BUILDOPTS
124         default n
125
126 config CLEAN_IPKG
127         bool
128         prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
129         default n
130
131 config AUTOREBUILD
132         bool
133         prompt "Automatic rebuild of packages" if BUILDOPTS
134         default y
135         help
136                 Automatically rebuild packages when their files change
137
138 config BUILD_SUFFIX
139         string
140         prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
141         default ""
142         help
143                 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
144
145 config TAR_VERBOSITY
146         bool 
147         prompt "Tar verbose" if BUILDOPTS
148         default n
149
150 config CCACHE
151         bool
152         prompt "Use ccache" if BUILDOPTS
153         default n
154         help
155                 Compiler cache; see http://ccache.samba.org/
156
157 config EXTERNAL_KERNEL_TREE
158         string
159         prompt "Use external kernel tree" if BUILDOPTS
160         default ""
161
162 source "toolchain/Config.in"
163
164 source "target/imagebuilder/Config.in"
165 source "target/sdk/Config.in"
166
167 source "tmp/.config-package.in"
168
169