From: Felix Fietkau Date: Sun, 23 Sep 2012 09:59:56 +0000 (+0000) Subject: x86: avoid using grub prepare when using grub2 X-Git-Tag: reboot~12816 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=493b7c7f3cb300944453b110f5098a950053fd4b;p=openwrt%2Fstaging%2Fxback.git x86: avoid using grub prepare when using grub2 SVN-Revision: 33525 --- 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