bugfixes. Merge MIPS and MIPSel
This commit is contained in:
parent
7dc7e76a56
commit
33dc6f74d2
17 changed files with 77 additions and 5 deletions
|
@ -90,12 +90,15 @@ case "$target_cpu"-"$platform" in
|
|||
powerpc-ieee1275) ;;
|
||||
sparc64-ieee1275) ;;
|
||||
mipsel-qemu-r4k) ;;
|
||||
mips-qemu-r4k) ;;
|
||||
*) AC_MSG_ERROR([platform "$platform" is not supported for target CPU "$target_cpu"]) ;;
|
||||
esac
|
||||
|
||||
case "$target_cpu" in
|
||||
i386 | powerpc) target_m32=1 ;;
|
||||
x86_64 | sparc64) target_m64=1 ;;
|
||||
mipsel) TARGET_CFLAGS="$TARGET_CFLAGS -DGRUB_CPU_MIPSEL=1"; target_cpu=mips ;;
|
||||
mips) TARGET_CFLAGS="$TARGET_CFLAGS -DGRUB_CPU_MIPS=1" ;;
|
||||
esac
|
||||
|
||||
case "$host_os" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue