diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-27 17:55:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-05-05 17:30:50 +0200 |
commit | 2794b6744d2959f55a40952a05d92d07fc85d364 (patch) | |
tree | 1273cc16cd9994e7650f64330ba53abf1b2ff5f4 /platforms | |
parent | 66fc8c5e2ba35c909ffccaa0cd9337be90019db4 (diff) | |
download | ptxdist-2794b6744d2959f55a40952a05d92d07fc85d364.tar.gz ptxdist-2794b6744d2959f55a40952a05d92d07fc85d364.tar.xz |
image-hdimg: add generic HD image
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/image-hdimg.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/platforms/image-hdimg.in b/platforms/image-hdimg.in new file mode 100644 index 000000000..884d9fc19 --- /dev/null +++ b/platforms/image-hdimg.in @@ -0,0 +1,37 @@ +## SECTION=image2 + +menuconfig IMAGE_HDIMG + bool + select HOST_GENIMAGE + select IMAGE_ROOT_EXT + select BAREBOX if IMAGE_HDIMG_BAREBOX + select GRUB if IMAGE_HDIMG_GRUB + 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 " + +endchoice + +endif |