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:
parent
dbff1be7a8
commit
1acfb1b180
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user