summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/conf/Makefile.mvme88k
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-12-22 18:22:39 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-12-22 18:22:39 +0000
commit96f7d97c76ba2b501d194732590931c651f0f592 (patch)
tree1d50d0a99244b84165bc4681190c38f8c47c62d4 /sys/arch/mvme88k/conf/Makefile.mvme88k
parent8244f5d63e9358f7384b9483e2ddcf1dc3830123 (diff)
Put miod's Makefile hack to define M88100 and M88110 back in.
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