Fri Jan 2 11:13:38 2009 UTC ()
Define -DMODULAR in Makefile.rump instead of the sys/rump/librump
Makefile.inc so that it gets picked up by UPDATE=1


(pooka)
diff -r1.22 -r1.23 src/sys/rump/Makefile.rump
diff -r1.3 -r1.4 src/sys/rump/librump/Makefile.inc

cvs diff -r1.22 -r1.23 src/sys/rump/Makefile.rump (expand / switch to context diff)
--- src/sys/rump/Makefile.rump 2009/01/01 22:16:35 1.22
+++ src/sys/rump/Makefile.rump 2009/01/02 11:13:38 1.23
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rump,v 1.22 2009/01/01 22:16:35 pooka Exp $
+#	$NetBSD: Makefile.rump,v 1.23 2009/01/02 11:13:38 pooka Exp $
 #
 
 WARNS?=		4
@@ -13,7 +13,7 @@
 
 CFLAGS+=	-ffreestanding -fno-strict-aliasing
 CPPFLAGS+=	-D_RUMPKERNEL	# XXX: this should die
-CPPFLAGS+=	-D_KERNEL -DMULTIPROCESSOR -D_MODULE
+CPPFLAGS+=	-D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR
 CPPFLAGS+=	-DMAXUSERS=32
 CPPFLAGS+=	-DDIAGNOSTIC
 CPPFLAGS+=	-I${.CURDIR} -I.

cvs diff -r1.3 -r1.4 src/sys/rump/librump/Makefile.inc (expand / switch to context diff)
--- src/sys/rump/librump/Makefile.inc 2009/01/01 19:07:43 1.3
+++ src/sys/rump/librump/Makefile.inc 2009/01/02 11:13:38 1.4
@@ -1,14 +1,3 @@
-#	$NetBSD: Makefile.inc,v 1.3 2009/01/01 19:07:43 pooka Exp $
+#	$NetBSD: Makefile.inc,v 1.4 2009/01/02 11:13:38 pooka Exp $
 #
-
-#
-# Mandatory flags
-#
-CPPFLAGS+=	-DMODULAR
-
-#
-# Optional flags
-#
-
-# Comment this out if you want the build to default to allowing threads
 CPPFLAGS+=	-DRUMP_WITHOUT_THREADS