Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch define _KERNEL_OPT as well as _KERNEL. we will use ...



details:   https://anonhg.NetBSD.org/src/rev/23dff568d6e8
branches:  trunk
changeset: 510436:23dff568d6e8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue May 29 02:20:20 2001 +0000

description:
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.

diffstat:

 sys/arch/amiga/conf/Makefile.amiga         |  4 ++--
 sys/arch/amigappc/conf/Makefile.amigappc   |  2 +-
 sys/arch/arm26/conf/Makefile.arm26         |  4 ++--
 sys/arch/arm32/conf/Makefile.arm32         |  4 ++--
 sys/arch/atari/conf/Makefile.atari         |  4 ++--
 sys/arch/bebox/conf/Makefile.bebox         |  4 ++--
 sys/arch/cats/conf/Makefile.cats           |  4 ++--
 sys/arch/cesfic/conf/Makefile.cesfic       |  4 ++--
 sys/arch/dnard/conf/Makefile.dnard         |  4 ++--
 sys/arch/hp300/conf/Makefile.hp300         |  4 ++--
 sys/arch/hpcarm/conf/Makefile.hpcarm       |  4 ++--
 sys/arch/i386/conf/Makefile.i386           |  4 ++--
 sys/arch/luna68k/conf/Makefile.luna68k     |  4 ++--
 sys/arch/mac68k/conf/Makefile.mac68k       |  4 ++--
 sys/arch/macppc/conf/Makefile.macppc       |  4 ++--
 sys/arch/mips/conf/Makefile.mips           |  4 ++--
 sys/arch/mvme68k/conf/Makefile.mvme68k     |  4 ++--
 sys/arch/netwinder/conf/Makefile.netwinder |  4 ++--
 sys/arch/news68k/conf/Makefile.news68k     |  4 ++--
 sys/arch/next68k/conf/Makefile.next68k     |  4 ++--
 sys/arch/ofppc/conf/Makefile.ofppc         |  4 ++--
 sys/arch/pc532/conf/Makefile.pc532         |  4 ++--
 sys/arch/prep/conf/Makefile.prep           |  4 ++--
 sys/arch/sandpoint/conf/Makefile.sandpoint |  4 ++--
 sys/arch/sh3/conf/Makefile.sh3             |  4 ++--
 sys/arch/sh3/conf/Makefile.sh3.be          |  4 ++--
 sys/arch/sparc/conf/Makefile.sparc         |  4 ++--
 sys/arch/sparc64/conf/Makefile.sparc64     |  4 ++--
 sys/arch/sun2/conf/Makefile.sun2           |  4 ++--
 sys/arch/sun3/conf/Makefile.sun3           |  4 ++--
 sys/arch/vax/conf/Makefile.vax             |  4 ++--
 sys/arch/x68k/conf/Makefile.x68k           |  4 ++--
 32 files changed, 63 insertions(+), 63 deletions(-)

diffs (truncated from 570 to 300 lines):

diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/amiga/conf/Makefile.amiga
--- a/sys/arch/amiga/conf/Makefile.amiga        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/amiga/conf/Makefile.amiga        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amiga,v 1.93 2001/05/08 06:09:29 is Exp $
+#      $NetBSD: Makefile.amiga,v 1.94 2001/05/29 02:20:20 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
 CWARNFLAGS?=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/amigappc/conf/Makefile.amigappc
--- a/sys/arch/amigappc/conf/Makefile.amigappc  Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/amigappc/conf/Makefile.amigappc  Tue May 29 02:20:20 2001 +0000
@@ -40,7 +40,7 @@
 
 HAVE_GCC28!=   ${CC} --version | egrep "^(2\.8|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
 CWARNFLAGS?=    -Werror -Wreturn-type -Wpointer-arith
 .if (${HAVE_GCC28} != "")
 CWARNFLAGS+=   -Wno-main
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/arm26/conf/Makefile.arm26
--- a/sys/arch/arm26/conf/Makefile.arm26        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/arm26/conf/Makefile.arm26        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm26,v 1.6 2001/02/17 19:38:36 bjh21 Exp $
+#      $NetBSD: Makefile.arm26,v 1.7 2001/05/29 02:20:21 mrg Exp $
 
 # Makefile for NetBSD/arm26
 #
@@ -41,7 +41,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Darm26
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Darm26
 CWARNFLAGS?=   -Werror -Wall -Wcomment -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/arm32/conf/Makefile.arm32
--- a/sys/arch/arm32/conf/Makefile.arm32        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/arm32/conf/Makefile.arm32        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm32,v 1.55 2001/02/19 13:26:17 bjh21 Exp $
+#      $NetBSD: Makefile.arm32,v 1.56 2001/05/29 02:20:21 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Darm32
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Darm32
 CWARNFLAGS?=   -Werror -Wall -Wcomment -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/atari/conf/Makefile.atari
--- a/sys/arch/atari/conf/Makefile.atari        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/atari/conf/Makefile.atari        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.atari,v 1.61 2000/12/17 15:52:40 jdolecek Exp $
+#      $NetBSD: Makefile.atari,v 1.62 2001/05/29 02:20:21 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Datari
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Datari
 CWARNFLAGS?=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/bebox/conf/Makefile.bebox
--- a/sys/arch/bebox/conf/Makefile.bebox        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/bebox/conf/Makefile.bebox        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.bebox,v 1.20 2000/12/17 15:52:40 jdolecek Exp $
+#      $NetBSD: Makefile.bebox,v 1.21 2001/05/29 02:20:21 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -41,7 +41,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dbebox
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dbebox
 CWARNFLAGS?=   -Werror -Wreturn-type -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/cats/conf/Makefile.cats
--- a/sys/arch/cats/conf/Makefile.cats  Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/cats/conf/Makefile.cats  Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.cats,v 1.1 2001/05/22 20:59:27 chris Exp $
+#      $NetBSD: Makefile.cats,v 1.2 2001/05/29 02:20:22 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -39,7 +39,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dcats
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dcats
 CWARNFLAGS?=   -Werror -Wall -Wcomment -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/cesfic/conf/Makefile.cesfic
--- a/sys/arch/cesfic/conf/Makefile.cesfic      Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/cesfic/conf/Makefile.cesfic      Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.cesfic,v 1.1 2001/05/14 18:23:06 drochner Exp $
+#      $NetBSD: Makefile.cesfic,v 1.2 2001/05/29 02:20:22 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -34,7 +34,7 @@
 
 HAVE_GCC28!=   ${CC} --version | egrep "^(2\.8|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
 CWARNFLAGS=    -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format
 .if (${HAVE_GCC28} != "")
 CWARNFLAGS+=   -Wno-main
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/dnard/conf/Makefile.dnard
--- a/sys/arch/dnard/conf/Makefile.dnard        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/dnard/conf/Makefile.dnard        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.dnard,v 1.2 2001/05/09 15:16:24 matt Exp $
+#      $NetBSD: Makefile.dnard,v 1.3 2001/05/29 02:20:22 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Ddnard
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Ddnard
 CWARNFLAGS?=   -Werror -Wall -Wcomment -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/hp300/conf/Makefile.hp300
--- a/sys/arch/hp300/conf/Makefile.hp300        Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/hp300/conf/Makefile.hp300        Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hp300,v 1.77 2000/12/17 15:52:41 jdolecek Exp $
+#      $NetBSD: Makefile.hp300,v 1.78 2001/05/29 02:20:22 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dhp300
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dhp300
 CWARNFLAGS?=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/hpcarm/conf/Makefile.hpcarm
--- a/sys/arch/hpcarm/conf/Makefile.hpcarm      Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/hpcarm/conf/Makefile.hpcarm      Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hpcarm,v 1.1 2001/02/23 03:48:08 ichiro Exp $
+#      $NetBSD: Makefile.hpcarm,v 1.2 2001/05/29 02:20:22 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dhpcarm -Darm32
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dhpcarm -Darm32
 CWARNFLAGS?=   -Werror -Wall -Wcomment -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/i386/conf/Makefile.i386
--- a/sys/arch/i386/conf/Makefile.i386  Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/i386/conf/Makefile.i386  Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.i386,v 1.114 2001/05/16 03:48:45 lukem Exp $
+#      $NetBSD: Makefile.i386,v 1.115 2001/05/29 02:20:23 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -40,7 +40,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Di386
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Di386
 CWARNFLAGS?=   -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/luna68k/conf/Makefile.luna68k
--- a/sys/arch/luna68k/conf/Makefile.luna68k    Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/luna68k/conf/Makefile.luna68k    Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.luna68k,v 1.8 2000/12/17 15:52:41 jdolecek Exp $
+#      $NetBSD: Makefile.luna68k,v 1.9 2001/05/29 02:20:23 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -41,7 +41,7 @@
 # Keep -nostdinc before all -I flags, similar for -undef ...
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -nostdinc -I. -I$S/arch -I$S
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna68k
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dluna68k
 CWARNFLAGS?=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/mac68k/conf/Makefile.mac68k
--- a/sys/arch/mac68k/conf/Makefile.mac68k      Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/mac68k/conf/Makefile.mac68k      Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mac68k,v 1.77 2000/12/17 15:52:42 jdolecek Exp $
+#      $NetBSD: Makefile.mac68k,v 1.78 2001/05/29 02:20:23 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -38,7 +38,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmac68k
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmac68k
 CWARNFLAGS?=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/macppc/conf/Makefile.macppc
--- a/sys/arch/macppc/conf/Makefile.macppc      Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/macppc/conf/Makefile.macppc      Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.macppc,v 1.16 2001/05/17 23:48:31 matt Exp $
+#      $NetBSD: Makefile.macppc,v 1.17 2001/05/29 02:20:23 mrg Exp $
 #
 # Makefile for NetBSD
 #
@@ -41,7 +41,7 @@
 TEXTADDR?=     100000
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmacppc
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmacppc
 CWARNFLAGS?=   -Werror -Wreturn-type -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips  Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/mips/conf/Makefile.mips  Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mips,v 1.13 2001/05/23 02:35:40 hubertf Exp $
+#      $NetBSD: Makefile.mips,v 1.14 2001/05/29 02:20:24 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -46,7 +46,7 @@
 
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D${TARGET_MACHINE}
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -D${TARGET_MACHINE}
 CWARNFLAGS?=   -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes \
                -Wpointer-arith
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
diff -r 8879ef04b9a9 -r 23dff568d6e8 sys/arch/mvme68k/conf/Makefile.mvme68k
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k    Tue May 29 01:02:39 2001 +0000
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k    Tue May 29 02:20:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mvme68k,v 1.50 2000/12/17 15:52:42 jdolecek Exp $
+#      $NetBSD: Makefile.mvme68k,v 1.51 2001/05/29 02:20:24 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -40,7 +40,7 @@
 # Keep -nostdinc before all -I flags, similar for -undef ...
 HAVE_EGCS!=    ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
 INCLUDES=      -nostdinc -I. -I$S/arch -I$S
-CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme68k
+CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmvme68k
 .if empty(IDENT:M-DMVME172) && empty(IDENT:M-DMVME177)
 .if empty(IDENT:M-DMVME147)
 CMACHFLAGS=    -m68040



Home | Main Index | Thread Index | Old Index