Module Name:    src
Committed By:   mbalmer
Date:           Sun Sep 11 18:38:03 UTC 2011

Modified Files:
        src/share/mk: bsd.kmodule.mk
        src/sys/modules: Makefile.inc

Log Message:
Move SYSCTL_USE_DESCR to a better place.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/mk/bsd.kmodule.mk
cvs rdiff -u -r1.5 -r1.6 src/sys/modules/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.kmodule.mk
diff -u src/share/mk/bsd.kmodule.mk:1.32 src/share/mk/bsd.kmodule.mk:1.33
--- src/share/mk/bsd.kmodule.mk:1.32	Sat Sep 10 16:57:35 2011
+++ src/share/mk/bsd.kmodule.mk	Sun Sep 11 18:38:03 2011
@@ -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)

Index: src/sys/modules/Makefile.inc
diff -u src/sys/modules/Makefile.inc:1.5 src/sys/modules/Makefile.inc:1.6
--- src/sys/modules/Makefile.inc:1.5	Sat Sep 10 08:27:06 2011
+++ src/sys/modules/Makefile.inc	Sun Sep 11 18:38:02 2011
@@ -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
 

Reply via email to