From 3350584940c3c688ffd21c097061a07f439daebf Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 1 Aug 2024 18:52:21 -0500 Subject: Add support for target mips64. --- bootstrap | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index b3114ce..3ff9937 100755 --- a/bootstrap +++ b/bootstrap @@ -291,7 +291,7 @@ # # * Finish the "system/" build; the "bootstrap.sh" script will # require some work. Current status: preimage is finished. -# +# HERE="$(dirname $(readlink -f ${0}))"; @@ -336,6 +336,7 @@ case "${1}" in x86_64) m=x86_64: ; q=x86_64 ; ;; pmmx) m=i586: ; q=i386 ; ;; + mips64) m=mips64: ; q=mips64 ; ;; riscv64) m=riscv64: ; q=riscv64 ; ;; s390x) m=s390x: ; q=s390x ; ;; @@ -468,6 +469,10 @@ GCC_CONFIG_FOR_TARGET += --with-arch=i586 --with-tune=pentium2 --enable-cld --en endif # experimental targets +ifneq ($(findstring mips64-,$(TARGET)),) +GCC_CONFIG_FOR_TARGET += --with-abi=64 --with-mips-plt +endif + ifneq ($(findstring riscv64-,$(TARGET)),) GCC_CONFIG_FOR_TARGET += --with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic endif -- cgit v1.2.3-70-g09d2