package/libs/libreadline: Update to 7.0
[openwrt/openwrt.git] / config / Config-images.in
1 # Copyright (C) 2006-2013 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 menu "Target Images"
8
9 menuconfig TARGET_ROOTFS_INITRAMFS
10 bool "ramdisk"
11 default y if USES_INITRAMFS
12 help
13 Embed the root filesystem into the kernel (initramfs).
14
15 choice
16 prompt "Compression"
17 default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
18 default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
19 default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx
20 default TARGET_INITRAMFS_COMPRESSION_NONE
21 depends on TARGET_ROOTFS_INITRAMFS
22 help
23 Select ramdisk compression.
24
25 config TARGET_INITRAMFS_COMPRESSION_NONE
26 bool "none"
27
28 config TARGET_INITRAMFS_COMPRESSION_GZIP
29 bool "gzip"
30
31 config TARGET_INITRAMFS_COMPRESSION_BZIP2
32 bool "bzip2"
33
34 config TARGET_INITRAMFS_COMPRESSION_LZMA
35 bool "lzma"
36
37 config TARGET_INITRAMFS_COMPRESSION_LZO
38 bool "lzo"
39
40 config TARGET_INITRAMFS_COMPRESSION_LZ4
41 bool "lz4"
42
43 config TARGET_INITRAMFS_COMPRESSION_XZ
44 bool "xz"
45 endchoice
46
47 config EXTERNAL_CPIO
48 string
49 prompt "Use external cpio" if TARGET_ROOTFS_INITRAMFS
50 default ""
51 help
52 Kernel uses specified external cpio as INITRAMFS_SOURCE.
53
54 comment "Root filesystem archives"
55
56 config TARGET_ROOTFS_CPIOGZ
57 bool "cpio.gz"
58 default y if USES_CPIOGZ
59 help
60 Build a compressed cpio archive of the root filesystem.
61
62 config TARGET_ROOTFS_TARGZ
63 bool "tar.gz"
64 default y if USES_TARGZ
65 help
66 Build a compressed tar archive of the root filesystem.
67
68 comment "Root filesystem images"
69
70 menuconfig TARGET_ROOTFS_EXT4FS
71 bool "ext4"
72 default y if USES_EXT4
73 help
74 Build an ext4 root filesystem.
75
76 config TARGET_EXT4_MAXINODE
77 int "Maximum number of inodes in root filesystem"
78 depends on TARGET_ROOTFS_EXT4FS
79 default 6000
80 help
81 Select the maximum number of inodes in the root filesystem.
82
83 config TARGET_EXT4_RESERVED_PCT
84 int "Percentage of reserved blocks in root filesystem"
85 depends on TARGET_ROOTFS_EXT4FS
86 default 0
87 help
88 Select the percentage of reserved blocks in the root filesystem.
89
90 choice
91 prompt "Root filesystem block size"
92 default TARGET_EXT4_BLOCKSIZE_4K
93 depends on TARGET_ROOTFS_EXT4FS
94 help
95 Select the block size of the root filesystem.
96
97 config TARGET_EXT4_BLOCKSIZE_4K
98 bool "4k"
99
100 config TARGET_EXT4_BLOCKSIZE_2K
101 bool "2k"
102
103 config TARGET_EXT4_BLOCKSIZE_1K
104 bool "1k"
105 endchoice
106
107 config TARGET_EXT4_BLOCKSIZE
108 int
109 default 4096 if TARGET_EXT4_BLOCKSIZE_4K
110 default 2048 if TARGET_EXT4_BLOCKSIZE_2K
111 default 1024 if TARGET_EXT4_BLOCKSIZE_1K
112 depends on TARGET_ROOTFS_EXT4FS
113
114 config TARGET_EXT4_JOURNAL
115 bool "Create a journaling filesystem"
116 depends on TARGET_ROOTFS_EXT4FS
117 default n
118 help
119 Create an ext4 filesystem with a journal.
120
121 config TARGET_ROOTFS_ISO
122 bool "iso"
123 default n
124 depends on TARGET_x86_generic
125 help
126 Create a bootable ISO image.
127
128 config TARGET_ROOTFS_JFFS2
129 bool "jffs2"
130 depends on USES_JFFS2
131 help
132 Build a JFFS2 root filesystem.
133
134 config TARGET_ROOTFS_JFFS2_NAND
135 bool "jffs2 for NAND"
136 default y if USES_JFFS2_NAND
137 depends on USES_JFFS2_NAND
138 help
139 Build a JFFS2 root filesystem for NAND flash.
140
141 menuconfig TARGET_ROOTFS_SQUASHFS
142 bool "squashfs"
143 default y if USES_SQUASHFS
144 help
145 Build a squashfs-lzma root filesystem.
146
147 config TARGET_SQUASHFS_BLOCK_SIZE
148 int "Block size (in KiB)"
149 depends on TARGET_ROOTFS_SQUASHFS
150 default 64 if LOW_MEMORY_FOOTPRINT
151 default 256
152
153 menuconfig TARGET_ROOTFS_UBIFS
154 bool "ubifs"
155 default y if USES_UBIFS
156 depends on USES_UBIFS
157 help
158 Build a UBIFS root filesystem.
159
160 choice
161 prompt "compression"
162 default TARGET_UBIFS_COMPRESSION_ZLIB
163 depends on TARGET_ROOTFS_UBIFS
164 help
165 Select compression type
166
167 config TARGET_UBIFS_COMPRESSION_NONE
168 bool "none"
169
170 config TARGET_UBIFS_COMPRESSION_LZO
171 bool "lzo"
172
173 config TARGET_UBIFS_COMPRESSION_ZLIB
174 bool "zlib"
175 endchoice
176
177 config TARGET_UBIFS_FREE_SPACE_FIXUP
178 bool "free space fixup" if TARGET_ROOTFS_UBIFS
179 default y
180 help
181 The filesystem free space has to be fixed up on first mount.
182
183 config TARGET_UBIFS_JOURNAL_SIZE
184 string
185 prompt "journal size" if TARGET_ROOTFS_UBIFS
186 default ""
187
188 config GRUB_IMAGES
189 bool "Build GRUB images (Linux x86 or x86_64 host only)"
190 depends on TARGET_x86
191 depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
192 select PACKAGE_grub2
193 default y
194
195 config GRUB_CONSOLE
196 bool "Use Console Terminal (in addition to Serial)"
197 depends on GRUB_IMAGES
198 default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
199 default y
200
201 config GRUB_SERIAL
202 string "Serial port device"
203 depends on GRUB_IMAGES
204 default "hvc0" if TARGET_x86_xen_domu
205 default "ttyS0" if ! TARGET_x86_xen_domu
206
207 config GRUB_BAUDRATE
208 int "Serial port baud rate"
209 depends on GRUB_IMAGES
210 default 38400 if TARGET_x86_generic
211 default 38400 if TARGET_x86_geode
212 default 115200
213
214 config GRUB_BOOTOPTS
215 string "Extra kernel boot options"
216 depends on GRUB_IMAGES
217 default "xencons=hvc" if TARGET_x86_xen_domu
218 help
219 If you don't know, just leave it blank.
220
221 config GRUB_TIMEOUT
222 string "Seconds to wait before booting the default entry"
223 depends on GRUB_IMAGES
224 default "5"
225 help
226 If you don't know, 5 seconds is a reasonable default.
227
228 config VDI_IMAGES
229 bool "Build VirtualBox image files (VDI)"
230 depends on TARGET_x86 || TARGET_x86_64
231 select GRUB_IMAGES
232 select TARGET_IMAGES_PAD
233 select PACKAGE_kmod-e1000
234
235 config VMDK_IMAGES
236 bool "Build VMware image files (VMDK)"
237 depends on TARGET_x86 || TARGET_x86_64
238 select GRUB_IMAGES
239 select TARGET_IMAGES_PAD
240 select PACKAGE_kmod-e1000
241
242 config TARGET_IMAGES_PAD
243 bool "Pad images to filesystem size (for JFFS2)"
244 depends on GRUB_IMAGES
245
246 config TARGET_IMAGES_GZIP
247 bool "GZip images"
248 depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
249 default y
250
251 comment "Image Options"
252
253 source "target/linux/*/image/Config.in"
254
255 config TARGET_KERNEL_PARTSIZE
256 int "Kernel partition size (in MB)"
257 depends on GRUB_IMAGES
258 default 4
259
260 config TARGET_ROOTFS_PARTSIZE
261 int "Root filesystem partition size (in MB)"
262 depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu
263 default 256
264 help
265 Select the root filesystem partition size.
266
267 config TARGET_ROOTFS_PARTNAME
268 string "Root partition on target device"
269 depends on GRUB_IMAGES
270 help
271 Override the root partition on the final device. If left empty,
272 it will be mounted by PARTUUID which makes the kernel find the
273 appropriate disk automatically.
274
275 endmenu