freebsd-dev/gnu/usr.bin/binutils/libbfd/Makefile.mips
Warner Losh cd2ae2532f Retire TARGET_ABI.
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.
2011-01-07 20:26:33 +00:00

39 lines
791 B
Makefile

# $FreeBSD$
.if ${TARGET_ARCH:Mmips*el} != ""
_EMULATION_ENDIAN=little
.else
_EMULATION_ENDIAN=big
.endif
.if ${TARGET_ARCH:Mmips64*} != ""
DEFAULT_VECTOR= bfd_elf64_trad${_EMULATION_ENDIAN}mips_vec
.elif ${TARGET_ARCH:Mmipsn32*} != ""
DEFAULT_VECTOR= bfd_elf32_ntrad${_EMULATION_ENDIAN}mips_vec
.else
DEFAULT_VECTOR=bfd_elf32_trad${_EMULATION_ENDIAN}mips_vec
.endif
SRCS+= coff-mips.c \
cpu-mips.c \
ecoff.c \
ecofflink.c \
elf32.c \
elf64.c \
elfn32-mips.c \
elf32-mips.c \
elf64-mips.c \
elfxx-mips.c \
elf32-target.h \
elf64-target.h \
elflink.c
VECS= bfd_elf32_tradbigmips_vec \
bfd_elf32_tradlittlemips_vec \
bfd_elf32_ntradbigmips_vec \
bfd_elf32_ntradlittlemips_vec \
bfd_elf64_tradbigmips_vec \
bfd_elf64_tradlittlemips_vec \
ecoff_little_vec \
ecoff_big_vec