1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Add ARM platform Makefile for building BFD. We include the New ARM ABI only.

(rev 1.1 was an accidental commit)
This commit is contained in:
David E. O'Brien 2006-07-22 14:55:55 +00:00
parent dbff1be7a8
commit 1acfb1b180
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160579

View File

@ -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} \
elfarm-nabi.c \
elflink.c
VECS= ${DEFAULT_VECTOR} \
bfd_elf32_bigarm_vec
.if ${TARGET_ARCH} == "arm"
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
.endif
CLEANFILES+= elf32-arm-fbsd.c
elf32-arm-fbsd.c: elfarm-nabi.c
cat ${.ALLSRC} | sed s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g >${.TARGET}