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
commitb043edb3d5e37d178e2c07da3d38ec3320b7e683 (patch)
tree422b06e50a14aa871883343d7f6aedef560864bd /target/linux/x86/image/Config.in
parent57d951f7a0a2c2b956e65ec341444a08d9d92690 (diff)
downloadupstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.tar.gz
upstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.tar.bz2
upstream-b043edb3d5e37d178e2c07da3d38ec3320b7e683.zip
x86: add support for building grub2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33513 3c298f89-4303-0410-b956-a3cf2f4a3e73
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