Source-Changes-HG archive

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

[src/trunk]: src Move SYSCTL_USE_DESCR to a better place.



details:   https://anonhg.NetBSD.org/src/rev/ecd145d0b5e3
branches:  trunk
changeset: 769483:ecd145d0b5e3
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sun Sep 11 18:38:02 2011 +0000

description:
Move SYSCTL_USE_DESCR to a better place.

diffstat:

 share/mk/bsd.kmodule.mk  |  4 ++--
 sys/modules/Makefile.inc |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 1ff1f47c6b88 -r ecd145d0b5e3 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Sun Sep 11 17:18:57 2011 +0000
+++ b/share/mk/bsd.kmodule.mk   Sun Sep 11 18:38:02 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.32 2011/09/10 16:57:35 apb Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.33 2011/09/11 18:38:03 mbalmer Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -15,7 +15,7 @@
 CFLAGS+=       -ffreestanding ${COPTS}
 CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -isystem $S -isystem $S/arch
 CPPFLAGS+=     -isystem ${S}/../common/include
-CPPFLAGS+=     -D_KERNEL -D_LKM -D_MODULE
+CPPFLAGS+=     -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR
 
 # XXX until the kernel is fixed again...
 .if defined(HAVE_GCC) || defined(HAVE_PCC)
diff -r 1ff1f47c6b88 -r ecd145d0b5e3 sys/modules/Makefile.inc
--- a/sys/modules/Makefile.inc  Sun Sep 11 17:18:57 2011 +0000
+++ b/sys/modules/Makefile.inc  Sun Sep 11 18:38:02 2011 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.5 2011/09/10 08:27:06 mbalmer Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2011/09/11 18:38:02 mbalmer Exp $
 
 S!=            cd ${.PARSEDIR}/..;pwd
-CPPFLAGS+=     -I${NETBSDSRCDIR}/common/include -DSYSCTL_INCLUDE_DESCR
+CPPFLAGS+=     -I${NETBSDSRCDIR}/common/include
 USE_FORT=      no
 WARNS?=                3
 



Home | Main Index | Thread Index | Old Index