diff options
author | Zach van Rijn <me@zv.io> | 2024-08-04 20:15:30 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-08-04 20:15:30 -0500 |
commit | 57ca620b39de136423784e4328732b2b5f36251b (patch) | |
tree | 0e0434f31340d22a13db18879175ad9929a3e643 | |
parent | d0900a87fe3445d1a15f9557afaff45105c1926d (diff) | |
download | bootstrap-57ca620b39de136423784e4328732b2b5f36251b.tar.gz bootstrap-57ca620b39de136423784e4328732b2b5f36251b.tar.bz2 bootstrap-57ca620b39de136423784e4328732b2b5f36251b.tar.xz bootstrap-57ca620b39de136423784e4328732b2b5f36251b.zip |
Add support for target m68k.
-rwxr-xr-x | bootstrap | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -5,7 +5,7 @@ # Purpose : Bootstraps Adélie from source for any architecture. # Authors : Zach van Rijn <me@zv.io> # License : MIT -# Revision : 20240803 +# Revision : 20240804 #=============================================================== #=============================================================== @@ -336,6 +336,7 @@ case "${1}" in x86_64) m=x86_64: ; q=x86_64 ; ;; pmmx) m=i586: ; q=i386 ; ;; + m68k) m=m68k: ; q=m68k ; ;; mips64) m=mips64: ; q=mips64 ; ;; riscv64) m=riscv64: ; q=riscv64 ; ;; s390x) m=s390x: ; q=s390x ; ;; @@ -469,6 +470,10 @@ GCC_CONFIG_FOR_TARGET += --with-arch=i586 --with-tune=pentium2 --enable-cld --en endif # experimental targets +ifneq ($(findstring m68k-,$(TARGET)),) +GCC_CONFIG_FOR_TARGET += --with-arch=m68k --with-cpu=m68020 +endif + ifneq ($(findstring mips64-,$(TARGET)),) GCC_CONFIG_FOR_TARGET += --with-abi=64 --with-mips-plt endif |