summaryrefslogtreecommitdiffstats
path: root/platforms/image-hdimg.in
blob: 150ff7563142df0e286c008ee137c670dd21a1cb (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
## SECTION=image

menuconfig IMAGE_HDIMG
	bool
	select HOST_GENIMAGE
	select IMAGE_ROOT_EXT
	select BAREBOX		if IMAGE_HDIMG_BAREBOX
	select GRUB		if IMAGE_HDIMG_GRUB
	select IMAGE_BOOT_VFAT	if IMAGE_HDIMG_VFAT
	prompt "Generate images/hd.img        "
	help
	  Build a harddisk root image. The image will contain one partition
	  containing the root.ext2 and a corresponding partition table. The
	  image will bpe made bootable with the bootloader specified below.

if IMAGE_HDIMG

choice
	prompt "bootloader"
	default IMAGE_HDIMG_GRUB	if ARCH_X86
	default IMAGE_HDIMG_BAREBOX	if !ARCH_X86

config IMAGE_HDIMG_NONE
	bool
	prompt "none           "

config IMAGE_HDIMG_BAREBOX
	bool
	prompt "barebox        "

config IMAGE_HDIMG_GRUB
	bool
	depends on ARCH_X86
	prompt "grub           "

config IMAGE_HDIMG_VFAT
	bool
	prompt "boot.vfat      "

endchoice

endif