* util/grub-install.in: Fix target fo qemu_mips.

Fix extension on EFI.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-24 15:10:29 +02:00
parent a59a9826fd
commit 1a25e72cf6
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Fix target fo qemu_mips.
Fix extension on EFI.
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com> 2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_text.c (print_entry): Put an asterisk * grub-core/normal/menu_text.c (print_entry): Put an asterisk

View file

@ -673,13 +673,14 @@ fi
case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
sparc64-ieee1275) mkimage_target=sparc64-ieee1275-raw ;; sparc64-ieee1275) mkimage_target=sparc64-ieee1275-raw ;;
mipsel-loongson) mkimage_target=mipsel-loongson-elf ;; mipsel-loongson) mkimage_target=mipsel-loongson-elf ;;
mips-qemu_mips | mipsel-qemu_mips) mkimage_target="${grub_modinfo_target_cpu}-${grub_modinfo_platform}"-elf ;;
*) mkimage_target="${grub_modinfo_target_cpu}-${grub_modinfo_platform}" ;; *) mkimage_target="${grub_modinfo_target_cpu}-${grub_modinfo_platform}" ;;
esac esac
case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
i386-efi | x86_64-efi) imgext=efi ;; i386-efi | x86_64-efi | ia64-efi) imgext=efi ;;
mipsel-loongson | i386-coreboot | i386-multiboot | i386-ieee1275 \ mipsel-loongson | i386-coreboot | i386-multiboot | i386-ieee1275 \
| powerpc-ieee1275) imgext=elf ;; | powerpc-ieee1275 | mips-qemu_mips | mipsel-qemu_mips) imgext=elf ;;
*) imgext=img ;; *) imgext=img ;;
esac esac