f59e535254
the most common usage. Approved by: bapt (mentor)
20 lines
614 B
Makefile
20 lines
614 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
|
|
CAP_MKDB_ENDIAN= -l
|
|
.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
|
|
CAP_MKDB_ENDIAN= -b
|
|
.endif
|