34d82492e7ffdfc28bf0d2c1a7e7c93eb631d216
[openwrt/svn-archive/archive.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_EXT2FS
45 bool "ext2"
46 default y if USES_EXT2
47 depends !TARGET_ROOTFS_INITRAMFS
48 help
49 Ext2 file system with some free space for uml images
50
51 comment "Image Options"
52
53 source "target/linux/*/image/Config.in"
54
55 config TARGET_ROOTFS_FSPART
56 int "Filesystem part size (in MB)"
57 depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
58 default 16
59 help
60 Allows you to change the filesystem partition size
61
62 config TARGET_ROOTFS_MAXINODE
63 int "Maximum number of inodes in filesystem"
64 depends TARGET_ROOTFS_EXT2FS
65 default 1500
66 help
67 Allows you to change the maximum number of inodes in the filesystem
68
69 endmenu
70
71
72 config ALL
73 bool "Select all packages by default"
74 default n
75
76 menuconfig DEVEL
77 bool "Advanced configuration options (for developers)"
78 default n
79 select BUILDOPTS
80 select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
81
82 config BROKEN
83 bool
84 prompt "Show broken platforms / packages" if DEVEL
85 default n
86
87 config LOCALMIRROR
88 string
89 prompt "Local mirror for source packages" if DEVEL
90
91 menuconfig BUILDOPTS
92 bool
93 prompt "Build Options" if DEVEL
94
95 config CLEAN_IPKG
96 bool
97 prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
98 default n
99
100 config AUTOREBUILD
101 bool
102 prompt "Automatic rebuild of packages" if BUILDOPTS
103 default y
104 help
105 Automatically rebuild packages when their files change
106
107 config BUILD_SUFFIX
108 string
109 prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
110 default ""
111 help
112 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
113
114 config TAR_VERBOSITY
115 bool
116 prompt "Tar verbose" if BUILDOPTS
117 default n
118
119 config CCACHE
120 bool
121 prompt "Use ccache" if BUILDOPTS
122 default n
123 help
124 Compiler cache; see http://ccache.samba.org/
125
126 config SOURCE_FEEDS
127 string
128 prompt "Enter here external source feeds you want to include" if BUILDOPTS
129 default "https://svn.openwrt.org/openwrt/packages/"
130 help
131 Separate sources with spaces : " "
132
133 config SOURCE_FEEDS_REV
134 string
135 prompt "Revision for the source feed svn checkout" if BUILDOPTS
136 default ""
137
138
139 source "toolchain/Config.in"
140 source "target/imagebuilder/Config.in"
141 source "target/sdk/Config.in"
142
143 source "tmp/.config-package.in"
144