fbeb8fc5ac
This adds new target architectures for hardfloat: mipselhf mipshf mips64elhf mips64hf. Tested in QEMU only. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D8376
18 lines
574 B
Makefile
18 lines
574 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_ARCH} == "aarch64" || \
|
|
${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} == "") || \
|
|
${MACHINE_CPUARCH} == "riscv" || \
|
|
${MACHINE_ARCH:Mmips*el*} != ""
|
|
TARGET_ENDIANNESS= 1234
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
|
${MACHINE_ARCH} == "powerpcspe" || \
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} != "") || \
|
|
${MACHINE_ARCH:Mmips*} != ""
|
|
TARGET_ENDIANNESS= 4321
|
|
.endif
|