From 7b3ebcb787ef0f90fbb03743c64b19edd83491d3 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 11 Mar 2001 21:01:55 +0000 Subject: [PATCH] Use MACHINE_CPU instead of MACHINE_ARCH. Ony disable gdb for arm & sh3 --- gnu/usr.bin/gdb/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/gdb/Makefile b/gnu/usr.bin/gdb/Makefile index 796fe9f21ec3..ee715060f28a 100644 --- a/gnu/usr.bin/gdb/Makefile +++ b/gnu/usr.bin/gdb/Makefile @@ -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 .include @@ -58,8 +58,7 @@ XDEPFILES= ser-tcp.c SER_HARDWIRE= ser-unix.c NATDEPFILES= infptrace.c inftarg.c fork-child.c corelow.c \ ${NATDEPFILES.${MACHINE_ARCH}} -.if (${MACHINE_ARCH} != "arm32") \ - && (${MACHINE_ARCH} != "sh3eb") && (${MACHINE_ARCH} != "sh3el") +.if (${MACHINE_CPU} != "arm") && (${MACHINE_CPU} != "sh3") NATDEPFILES+= kcore-nbsd.c .endif NATDEPFILES+= solib.c