54d5c7e86f
Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
16 lines
433 B
Makefile
16 lines
433 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "ia64" || \
|
|
${MACHINE_ARCH} == "arm" || \
|
|
${MACHINE_ARCH:Mmips*el} != ""
|
|
TARGET_ENDIANNESS= 1234
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
${MACHINE_ARCH} == "armeb" || \
|
|
${MACHINE_ARCH:Mmips*eb} != ""
|
|
TARGET_ENDIANNESS= 4321
|
|
.endif
|