x86: avoid using grub prepare when using grub2

SVN-Revision: 33525
master
Felix Fietkau 12 years ago
parent ed2bf29be5
commit 493b7c7f3c
  1. 2
      target/linux/x86/image/Makefile

@ -237,7 +237,7 @@ endef
define Image/Prepare define Image/Prepare
$(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage $(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage
$(call Image/Prepare/bootscript) $(call Image/Prepare/bootscript)
$(call Image/Prepare/grub) $(call Image/Prepare/$(if $(CONFIG_X86_USE_GRUB2),grub2,grub))
endef endef
define Image/Build define Image/Build

Loading…
Cancel
Save