Use MACHINE_CPU instead of MACHINE_ARCH. Ony disable gdb for arm & sh3

This commit is contained in:
matt 2001-03-11 21:01:55 +00:00
parent 124f92f55c
commit 7b3ebcb787

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.46 2001/02/23 23:16:44 matt Exp $ # $NetBSD: Makefile,v 1.47 2001/03/11 21:01:55 matt Exp $
# for OBJECT_FMT # for OBJECT_FMT
.include <bsd.own.mk> .include <bsd.own.mk>
@ -58,8 +58,7 @@ XDEPFILES= ser-tcp.c
SER_HARDWIRE= ser-unix.c SER_HARDWIRE= ser-unix.c
NATDEPFILES= infptrace.c inftarg.c fork-child.c corelow.c \ NATDEPFILES= infptrace.c inftarg.c fork-child.c corelow.c \
${NATDEPFILES.${MACHINE_ARCH}} ${NATDEPFILES.${MACHINE_ARCH}}
.if (${MACHINE_ARCH} != "arm32") \ .if (${MACHINE_CPU} != "arm") && (${MACHINE_CPU} != "sh3")
&& (${MACHINE_ARCH} != "sh3eb") && (${MACHINE_ARCH} != "sh3el")
NATDEPFILES+= kcore-nbsd.c NATDEPFILES+= kcore-nbsd.c
.endif .endif
NATDEPFILES+= solib.c NATDEPFILES+= solib.c