mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
b75abea4d0
This is the initial set up for PowerPC64LE. The current plan is for this arch to remain experimental for FreeBSD 13. This started as a weekend learning project for me and kinda snowballed from there. (More to follow momentarily.) Reviewed by: imp (earlier version), emaste Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D26399
22 lines
663 B
Makefile
22 lines
663 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || \
|
|
${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} == "") || \
|
|
${MACHINE_ARCH} == "powerpc64le" || \
|
|
${MACHINE_CPUARCH} == "riscv" || \
|
|
${MACHINE_ARCH:Mmips*el*} != ""
|
|
TARGET_ENDIANNESS= 1234
|
|
CAP_MKDB_ENDIAN= -l
|
|
LOCALEDEF_ENDIAN= -l
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
|
${MACHINE_ARCH} == "powerpcspe" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} != "") || \
|
|
${MACHINE_ARCH:Mmips*} != ""
|
|
TARGET_ENDIANNESS= 4321
|
|
CAP_MKDB_ENDIAN= -b
|
|
LOCALEDEF_ENDIAN= -b
|
|
.endif
|