summaryrefslogtreecommitdiffstats
path: root/platforms/image-root-ext.in
blob: 903bdf33d8efb848ae2696f3ea5892daf130da42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## SECTION=image2

menuconfig IMAGE_ROOT_EXT
	tristate
	select HOST_GENIMAGE
	select HOST_GENEXT2FS
	select HOST_E2FSPROGS
	select IMAGE_ROOT_TGZ
	prompt "Generate images/root.ext2     "
	help
	  FIXME

if IMAGE_ROOT_EXT

config IMAGE_ROOT_EXT_SIZE
	string
	default "125%"
	prompt "image size"
	help
	  The image size in bytes or with unit, e.g. 42M, 23G, etc.
	  or as a percentage of the content, e.g. 200% will result in a
	  filesystem with about 50% free space.

choice
	prompt "ext2fs type          "

config IMAGE_ROOT_EXT_EXT2
	bool
	prompt "ext2"

config IMAGE_ROOT_EXT_EXT3
	bool
	prompt "ext3"

config IMAGE_ROOT_EXT_EXT4
	bool
	prompt "ext4"

endchoice

config IMAGE_ROOT_EXT_TYPE
	string
	default "ext2" if IMAGE_ROOT_EXT_EXT2
	default "ext3" if IMAGE_ROOT_EXT_EXT3
	default "ext4" if IMAGE_ROOT_EXT_EXT4

endif