|
@@ -2,7 +2,9 @@ config BR2_TARGET_ROOTFS_ISO9660
|
|
|
bool "iso image"
|
|
|
depends on (BR2_i386 || BR2_x86_64)
|
|
|
depends on BR2_LINUX_KERNEL
|
|
|
- depends on BR2_TARGET_GRUB || BR2_TARGET_SYSLINUX_ISOLINUX
|
|
|
+ depends on BR2_TARGET_GRUB || \
|
|
|
+ BR2_TARGET_GRUB2 || \
|
|
|
+ BR2_TARGET_SYSLINUX_ISOLINUX
|
|
|
select BR2_LINUX_KERNEL_INSTALL_TARGET \
|
|
|
if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS)
|
|
|
help
|
|
@@ -29,6 +31,15 @@ config BR2_TARGET_ROOTFS_ISO9660_GRUB
|
|
|
depends on BR2_TARGET_GRUB
|
|
|
select BR2_TARGET_GRUB_FS_ISO9660
|
|
|
|
|
|
+config BR2_TARGET_ROOTFS_ISO9660_GRUB2
|
|
|
+ bool "grub2"
|
|
|
+ depends on BR2_TARGET_GRUB2
|
|
|
+ help
|
|
|
+ Use Grub 2 as the bootloader for the ISO9660 image. Make
|
|
|
+ sure to enable the 'iso9660' module in
|
|
|
+ BR2_TARGET_GRUB2_BUILTIN_MODULES and to use 'cd' as the boot
|
|
|
+ partition in BR2_TARGET_GRUB2_BOOT_PARTITION=.
|
|
|
+
|
|
|
config BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
|
|
|
bool "isolinux"
|
|
|
depends on BR2_TARGET_SYSLINUX_ISOLINUX
|
|
@@ -38,6 +49,7 @@ endchoice
|
|
|
config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
|
|
|
string "Boot menu.lst file"
|
|
|
default "fs/iso9660/menu.lst" if BR2_TARGET_ROOTFS_ISO9660_GRUB
|
|
|
+ default "fs/iso9660/grub.cfg" if BR2_TARGET_ROOTFS_ISO9660_GRUB2
|
|
|
default "fs/iso9660/isolinux.cfg" if BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
|
|
|
help
|
|
|
Use this option to provide a custom bootloader configuration
|
|
@@ -69,7 +81,7 @@ config BR2_TARGET_ROOTFS_ISO9660_HYBRID
|
|
|
|
|
|
endif
|
|
|
|
|
|
-comment "iso image needs a Linux kernel and one of grub or isolinux to be built"
|
|
|
+comment "iso image needs a Linux kernel and one of grub, grub2 or isolinux to be built"
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
depends on !BR2_LINUX_KERNEL || \
|
|
|
- !(BR2_TARGET_GRUB || BR2_TARGET_SYSLINUX_ISOLINUX)
|
|
|
+ !(BR2_TARGET_GRUB || BR2_TARGET_GRUB2 || BR2_TARGET_SYSLINUX_ISOLINUX)
|