recognise mips64(el) targets

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-21 17:33:23 +01:00
parent 77546cfd8f
commit ade85305f8

View file

@ -46,12 +46,12 @@ AC_ARG_PROGRAM
case "$target_cpu" in
i[[3456]]86) target_cpu=i386 ;;
sparc) target_cpu=sparc64 ;;
mipsel)
mipsel|mips64el)
target_cpu=mips;
TARGET_CFLAGS="$TARGET_CFLAGS -DGRUB_CPU_MIPSEL=1";
CFLAGS="$CFLAGS -DGRUB_CPU_MIPSEL=1";
;;
mips)
mips|mips64)
target_cpu=mips;
TARGET_CFLAGS="$TARGET_CFLAGS -DGRUB_CPU_MIPS=1";
CFLAGS="$CFLAGS -DGRUB_CPU_MIPS=1";