mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
MIPS: Fix cross-tools build.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
@@ -1841,6 +1841,11 @@ mips*-mti-linux*)
|
||||
gas=yes
|
||||
test x$with_llsc != x || with_llsc=yes
|
||||
;;
|
||||
mipsel-*-haiku*)
|
||||
target_cpu_default="MASK_ABICALLS"
|
||||
tm_file="elfos.h ${tm_file} haiku.h mips/haiku.h"
|
||||
tmake_file="${tmake_file} mips/t-elf t-haiku"
|
||||
;;
|
||||
mips64*-*-linux* | mipsisa64*-*-linux*)
|
||||
tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h"
|
||||
tmake_file="${tmake_file} mips/t-linux64"
|
||||
|
||||
@@ -126,12 +126,13 @@ case ${host} in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mips*-*-linux*)
|
||||
mips*-*-linux* \
|
||||
| mips*-*-haiku* )
|
||||
case ${target} in
|
||||
mips*-*-linux*)
|
||||
mips*-*-* )
|
||||
host_extra_gcc_objs="driver-native.o"
|
||||
host_xmake_file="${host_xmake_file} mips/x-native"
|
||||
;;
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
rs6000-*-* \
|
||||
|
||||
@@ -79,7 +79,7 @@ unwind_header=unwind-generic.h
|
||||
cpu_type=`echo ${host} | sed 's/-.*$//'`
|
||||
case ${host} in
|
||||
m32c*-*-*)
|
||||
cpu_type=m32c
|
||||
cpu_type=m32c
|
||||
tmake_file=t-fdpbit
|
||||
;;
|
||||
aarch64*-*-*)
|
||||
@@ -124,7 +124,7 @@ lm32*-*-*)
|
||||
cpu_type=lm32
|
||||
;;
|
||||
m32r*-*-*)
|
||||
cpu_type=m32r
|
||||
cpu_type=m32r
|
||||
;;
|
||||
m68k-*-*)
|
||||
;;
|
||||
@@ -767,6 +767,8 @@ mips*-sde-elf*)
|
||||
esac
|
||||
extra_parts="$extra_parts crti.o crtn.o"
|
||||
;;
|
||||
mipsel-*-haiku*)
|
||||
;;
|
||||
mipsisa32-*-elf* | mipsisa32el-*-elf* | \
|
||||
mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
|
||||
mipsisa64-*-elf* | mipsisa64el-*-elf* | \
|
||||
|
||||
Reference in New Issue
Block a user