summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-07-22 14:55:55 +0000
committerobrien <obrien@FreeBSD.org>2006-07-22 14:55:55 +0000
commiteba71ad06cc438153d7ae561a400766dadc0341e (patch)
treec105b10be202bcfc83572bceb1fd2ed471e31f2d /gnu
parentb3f14c6784eff3990e2128319bc44e706c4077fd (diff)
downloadFreeBSD-src-eba71ad06cc438153d7ae561a400766dadc0341e.zip
FreeBSD-src-eba71ad06cc438153d7ae561a400766dadc0341e.tar.gz
Add ARM platform Makefile for building BFD. We include the New ARM ABI only.
(rev 1.1 was an accidental commit)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.arm24
1 files changed, 7 insertions, 17 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.arm b/gnu/usr.bin/binutils/libbfd/Makefile.arm
index de852e9..91a9b88 100644
--- a/gnu/usr.bin/binutils/libbfd/Makefile.arm
+++ b/gnu/usr.bin/binutils/libbfd/Makefile.arm
@@ -2,23 +2,13 @@
DEFAULT_VECTOR= bfd_elf32_littlearm_vec
-SRCS+= \
- cpu-arm.c \
- elf32.c \
- elf32-gen.c \
- elflink.c \
- elfarm-nabi.c \
- elfarm-oabi.c \
+SRCS+= cpu-arm.c \
+ elf32.c \
elf32-arm-fbsd.c \
+ elf32-gen.c \
elf32-target.h
-VECS+= ${DEFAULT_VECTOR} \
- bfd_elf32_bigarm_vec
-
-.if ${TARGET_ARCH} == "arm"
-CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
-.endif
+ elfarm-nabi.c \
+ elflink.c
-CLEANFILES+= elf32-arm-fbsd.c
-
-elf32-arm-fbsd.c: elfarm-nabi.c
- cat ${.ALLSRC} | sed s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g >${.TARGET}
+VECS= ${DEFAULT_VECTOR} \
+ bfd_elf32_bigarm_vec
OpenPOWER on IntegriCloud