diff options
author | obrien <obrien@FreeBSD.org> | 2006-09-12 06:59:39 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-09-12 06:59:39 +0000 |
commit | 5945365a2c3cb20f67cd54a70576a114cd13ecfd (patch) | |
tree | 178104ef3af9aecb3807d8383bc204abc4fa1e1d /gnu | |
parent | e5aca57eb84dd088bcc0e77a028a935018a2a9dc (diff) | |
download | FreeBSD-src-5945365a2c3cb20f67cd54a70576a114cd13ecfd.zip FreeBSD-src-5945365a2c3cb20f67cd54a70576a114cd13ecfd.tar.gz |
Build 'ld' supporting a big endian ARM if "TARGET_BIG_ENDIAN" is defined.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.arm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.arm b/gnu/usr.bin/binutils/ld/Makefile.arm index cc688cc..74f0005 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.arm +++ b/gnu/usr.bin/binutils/ld/Makefile.arm @@ -1,6 +1,10 @@ # $FreeBSD$ -NATIVE_EMULATION= armelf_fbsd +.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN) +NATIVE_EMULATION= armelfb_fbsd +.else +NATIVE_EMULATION= armelf_fbsd +.endif SRCS+= e${NATIVE_EMULATION}.c CLEANFILES+= e${NATIVE_EMULATION}.c |