Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
sparc64.
This commit is contained in:
parent
9b6c0ec9af
commit
c637f38769
@ -1,19 +1,28 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
SRCS+= aout32.o \
|
||||
SRCS+= aout32.c \
|
||||
cpu-sparc.c \
|
||||
elf32-sparc.c \
|
||||
elf32-target.h \
|
||||
elf32.c \
|
||||
elf64-sparc.c \
|
||||
elf64-target.h \
|
||||
elf64.c \
|
||||
elflink.c \
|
||||
sparcnetbsd.c \
|
||||
sunos.c
|
||||
VECS+= bfd_elf32_sparc_vec sunos_big_vec
|
||||
VECS+= bfd_elf32_sparc_vec bfd_elf64_sparc_vec sparcnetbsd_vec \
|
||||
sunos_big_vec
|
||||
.if ${TARGET_ARCH} == "sparc"
|
||||
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_sparc_vec
|
||||
.endif
|
||||
CFLAGS+= -DHAVE_elf32_sparc_vec -DHAVE_sunos_big_vec
|
||||
CLEANFILES+= elf32-target.h
|
||||
CFLAGS+= -DHAVE_bfd_elf32_sparc_vec -DHAVE_bfd_elf64_sparc_vec \
|
||||
-DHAVE_sparcnetbsd_vec -DHAVE_sunos_big_vec
|
||||
CLEANFILES+= elf32-target.h elf64-target.h
|
||||
|
||||
elf32-target.h: elfxx-target.h
|
||||
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
elf64-target.h: elfxx-target.h
|
||||
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user