add cpio.gz support (patch from #2595)
[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_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 SOURCE_FEEDS
141 string
142 prompt "Enter here external source feeds you want to include" if BUILDOPTS
143 default "https://svn.openwrt.org/openwrt/packages/"
144 help
145 Separate sources with spaces : " "
146
147 config SOURCE_FEEDS_REV
148 string
149 prompt "Revision for the source feed svn checkout" if BUILDOPTS
150 default ""
151
152 config EXTERNAL_KERNEL_TREE
153 string
154 prompt "Use external kernel tree" if DEVEL
155 default ""
156
157
158 source "toolchain/Config.in"
159 menuconfig BUILDSYSTEM_SETTINGS
160 bool "Buildsystem settings"
161
162 config DOWNLOAD_FOLDER
163 string
164 prompt "Download folder"
165 default ""
166 depends BUILDSYSTEM_SETTINGS
167 source "target/imagebuilder/Config.in"
168 source "target/sdk/Config.in"
169
170 source "tmp/.config-package.in"
171
172