Build in ELF32 support on all ARM platforms.

This commit is contained in:
bjh21 2001-06-30 14:52:42 +00:00
parent ee9c81dd38
commit b7abea421d

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.10 2001/02/18 05:22:46 tsutsui Exp $
# $NetBSD: Makefile,v 1.11 2001/06/30 14:52:42 bjh21 Exp $
.include <bsd.own.mk>
PROG= crunchide
SRCS= crunchide.c exec_aout.c exec_coff.c exec_ecoff.c exec_elf32.c \
@ -6,8 +8,7 @@ SRCS= crunchide.c exec_aout.c exec_coff.c exec_ecoff.c exec_elf32.c \
.if ${MACHINE_ARCH} == "alpha"
CPPFLAGS+=-DNLIST_ELF64 -DNLIST_ECOFF
.elif ${MACHINE_ARCH} == "arm26" || \
${MACHINE_ARCH} == "mips" || \
.elif ${MACHINE_ARCH} == "mips" || \
${MACHINE_ARCH} == "mipsel" || \
${MACHINE_ARCH} == "mipseb" || \
${MACHINE_ARCH} == "powerpc"
@ -16,7 +17,8 @@ CPPFLAGS+=-DNLIST_ELF32
CPPFLAGS+=-DNLIST_ELF32 -DNLIST_COFF
.elif ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+=-DNLIST_AOUT -DNLIST_ELF32 -DNLIST_ELF64
.elif ${MACHINE_ARCH} == "i386" || \
.elif ${MACHINE_CPU} == "arm" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "m68k" || \
${MACHINE_ARCH} == "sparc"
CPPFLAGS+=-DNLIST_AOUT -DNLIST_ELF32