diff options
author | Zach van Rijn <me@zv.io> | 2024-08-01 18:52:21 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-08-01 18:52:21 -0500 |
commit | 3350584940c3c688ffd21c097061a07f439daebf (patch) | |
tree | f335268c98130c895ffc37a090f2d61b6e002ad6 | |
parent | d1b8b6ea04ef53220f29adf9c0ef3a3de73762c5 (diff) | |
download | bootstrap-3350584940c3c688ffd21c097061a07f439daebf.tar.gz bootstrap-3350584940c3c688ffd21c097061a07f439daebf.tar.bz2 bootstrap-3350584940c3c688ffd21c097061a07f439daebf.tar.xz bootstrap-3350584940c3c688ffd21c097061a07f439daebf.zip |
Add support for target mips64.
-rwxr-xr-x | bootstrap | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |