diff options
Diffstat (limited to 'sys/arch/mvme88k/conf/Makefile.mvme88k')
-rw-r--r-- | sys/arch/mvme88k/conf/Makefile.mvme88k | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k index 264ca1b8709..805fd21a6ce 100644 --- a/sys/arch/mvme88k/conf/Makefile.mvme88k +++ b/sys/arch/mvme88k/conf/Makefile.mvme88k @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvme88k,v 1.14 2001/08/26 14:31:36 miod Exp $ +# $OpenBSD: Makefile.mvme88k,v 1.15 2001/12/13 20:32:56 miod 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 |