aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:42 +0000
commit52e8ee06668020ccbc5a94859e7bd5ed61cf98ec (patch)
tree75e81f6d49c3c1fb3aee2f77bf9160b575e4bbf6 /target/linux/x86/image/Config.in
parentcc13232904bdc7a01f897e6cbcbd2c2721b0af5c (diff)
downloadupstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.tar.gz
upstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.tar.bz2
upstream-52e8ee06668020ccbc5a94859e7bd5ed61cf98ec.zip
x86: add support for building grub2 images
SVN-Revision: 33513
Diffstat (limited to 'target/linux/x86/image/Config.in')
-rw-r--r--target/linux/x86/image/Config.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/x86/image/Config.in b/target/linux/x86/image/Config.in
index 9a1317bb6c..08880e5803 100644
--- a/target/linux/x86/image/Config.in
+++ b/target/linux/x86/image/Config.in
@@ -17,9 +17,14 @@ config X86_GRUB_IMAGES
bool "Build GRUB images (Linux x86 or x86_64 host only)"
depends TARGET_x86 && !TARGET_x86_olpc
depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
- select PACKAGE_grub
+ select PACKAGE_grub if !X86_USE_GRUB2
default y
+config X86_USE_GRUB2
+ bool "Use grub2"
+ depends X86_GRUB_IMAGES
+ select PACKAGE_grub2
+
config X86_GRUB_CONSOLE
bool "Use Console Terminal (in addition to Serial)"
depends X86_GRUB_IMAGES