summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/conf/Makefile.mvme88k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/conf/Makefile.mvme88k')
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index 9b5fa1cdc43..f806977a357 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.16 2001/12/16 23:49:43 miod Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.17 2001/12/22 18:22:38 smurph Exp $
#
# Makefile for OpenBSD
#
@@ -54,6 +54,20 @@ HOSTCC?= ${CC}
HOSTED_CPPFLAGS?=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS?= ${CFLAGS}
+### CPU configuration
+
+.if (${IDENT:M-DMVME187} != "" || ${IDENT:M-DMVME188} != "")
+CPPFLAGS+= -DM88100
+.endif
+.if (${IDENT:M-DMVME197} != "")
+CPPFLAGS+= -DM88110
+.endif
+
+# syntaxic sugar for 187, which do not exist with multiple processors
+.if (${IDENT:M-DMVME187} != "" && ${IDENT:M-DNCPUS} == "")
+CPPFLAGS+= -DNCPUS=1
+.endif
+
### find out what to use for libkern
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF