diff options
| author | Warner Losh <imp@FreeBSD.org> | 2011-01-07 20:26:33 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2011-01-07 20:26:33 +0000 |
| commit | cd2ae2532f3ad33a227fb09aae248620260a1635 (patch) | |
| tree | 12ed45fc5cc0930d7f4165ad7f223aba33b36162 /gnu/usr.bin/binutils/ld | |
| parent | ede990172fc3e86d1f30c99860004d0d3e9bebe5 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/ld')
| -rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.mips | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.mips b/gnu/usr.bin/binutils/ld/Makefile.mips index de0ec945d68b8..e510a7da9fba2 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.mips +++ b/gnu/usr.bin/binutils/ld/Makefile.mips @@ -1,19 +1,18 @@ # $FreeBSD$ -.if ${TARGET_ARCH} == "mipsel" +.if ${TARGET_ARCH:Mmips*el} != "" _EMULATION_ENDIAN=l .else _EMULATION_ENDIAN=b .endif -.if defined(TARGET_ABI) && ${TARGET_ABI} != "o32" -.if ${TARGET_ABI} == "n32" -NATIVE_EMULATION=elf32${_EMULATION_ENDIAN}tsmipn32_fbsd -.elif ${TARGET_ABI} == "n64" +.if ${TARGET_ARCH:Mmips64*} != "" NATIVE_EMULATION=elf64${_EMULATION_ENDIAN}tsmip_fbsd -.endif -.endif +.elif ${TARGET_ARCH:Mmipsn32*} != "" +NATIVE_EMULATION=elf32${_EMULATION_ENDIAN}tsmipn32_fbsd +.else NATIVE_EMULATION?=elf32${_EMULATION_ENDIAN}tsmip_fbsd +.endif MIPS_ABIS=elf32btsmip_fbsd elf32ltsmip_fbsd elf64btsmip_fbsd elf64ltsmip_fbsd \ elf32btsmipn32_fbsd elf32ltsmipn32_fbsd |
