mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 03:06:42 +00:00
arch: add mips64
This adds initial mips64 config option and build script.
This commit is contained in:
parent
00ac124509
commit
f8ba6cb7e6
@ -2,6 +2,7 @@
|
||||
|
||||
config ARCH_mips
|
||||
select ARCH_SUPPORTS_32
|
||||
select ARCH_SUPPORTS_64 if EXPERIMENTAL
|
||||
select ARCH_DEFAULT_32
|
||||
select ARCH_USE_MMU
|
||||
select ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
|
@ -1,8 +1,13 @@
|
||||
# Compute IA-64-specific values
|
||||
|
||||
CT_DoArchTupleValues() {
|
||||
# The architecture part of the tuple:
|
||||
CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
|
||||
# The architecture part of the tuple, override only for 64-bit
|
||||
if [ "${CT_ARCH_64}" = "y" ]; then
|
||||
CT_TARGET_ARCH="mips64${target_endian_el}"
|
||||
else
|
||||
# The architecture part of the tuple:
|
||||
CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
|
||||
fi
|
||||
|
||||
# Override CFLAGS for endianness:
|
||||
case "${CT_ARCH_BE},${CT_ARCH_LE}" in
|
||||
|
Loading…
Reference in New Issue
Block a user