Make check work on mips-arc.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-24 22:24:28 +02:00
parent 5e013e56f0
commit 6aff01075d
3 changed files with 18 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
Make check work on mips-arc.
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com> 2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrescue.in: Alias sashARCS as sash. * util/grub-mkrescue.in: Alias sashARCS as sash.

View file

@ -63,21 +63,25 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
powerpc-ieee1275) powerpc-ieee1275)
disk=ieee1275//pci@80000000/mac-io@4/ata-3@20000/disk@0 disk=ieee1275//pci@80000000/mac-io@4/ata-3@20000/disk@0
qemudisk=hda qemudisk=hda
# QEMU firmware has bugs which prevent it from accessing hard disk. # QEMU firmware has bugs which prevent it from accessing hard disk w/o recognised label.
exit 0 exit 0
;; ;;
sparc64-ieee1275) sparc64-ieee1275)
disk=ieee1275//pci@1fe\,0/pci-ata@5/ide0@500/disk@0 disk=ieee1275//pci@1fe\,0/pci-ata@5/ide0@500/disk@0
qemudisk=hda qemudisk=hda
# QEMU firmware has bugs which prevent it from accessing hard disk. # QEMU firmware has bugs which prevent it from accessing hard disk w/o recognised label.
exit 0 exit 0
;; ;;
i386-ieee1275) i386-ieee1275)
disk=ieee1275/d disk=ieee1275/d
qemudisk=hdb qemudisk=hdb
# QEMU firmware has bugs which prevent it from accessing hard disk. # QEMU firmware has bugs which prevent it from accessing hard disk w/o recognised label.
exit 0 exit 0
;; ;;
mips-arc)
# ARC firmware has bugs which prevent it from accessing hard disk w/o dvh disklabel.
exit 0
*) *)
disk=hd0 disk=hd0
qemudisk=hda qemudisk=hda

View file

@ -85,6 +85,13 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
qemuopts="$qemuopts -M mips" qemuopts="$qemuopts -M mips"
console=vga_text console=vga_text
;; ;;
mips-arc)
boot=cd
qemu=qemu-system-mips64
qemuopts="$qemuopts -M indy"
console=console
trim=1
;;
mipsel-qemu_mips) mipsel-qemu_mips)
boot=mipsel_qemu boot=mipsel_qemu
qemu=qemu-system-mipsel qemu=qemu-system-mipsel