From 476060c78a81934587965bba56287f33b0439226 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 23 Sep 2012 09:59:56 +0000 Subject: x86: avoid using grub prepare when using grub2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33525 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/x86/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index ebe0788593..547f0839fd 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -237,7 +237,7 @@ endef define Image/Prepare $(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage $(call Image/Prepare/bootscript) - $(call Image/Prepare/grub) + $(call Image/Prepare/$(if $(CONFIG_X86_USE_GRUB2),grub2,grub)) endef define Image/Build -- cgit v1.2.3