Module Name:    src
Committed By:   pooka
Date:           Tue May 11 22:21:05 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: Makefile.rumpkern

Log Message:
Actually, push defining _RUMPKERNEL down to libkern, since it's
not needed elsewhere.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/rump/librump/rumpkern/Makefile.rumpkern

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

Modified files:

Index: src/sys/rump/librump/rumpkern/Makefile.rumpkern
diff -u src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.83 src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.84
--- src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.83	Tue May 11 21:08:07 2010
+++ src/sys/rump/librump/rumpkern/Makefile.rumpkern	Tue May 11 22:21:05 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpkern,v 1.83 2010/05/11 21:08:07 pooka Exp $
+#	$NetBSD: Makefile.rumpkern,v 1.84 2010/05/11 22:21:05 pooka Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -68,13 +68,6 @@
 # sys/dev
 SRCS+=	clock_subr.c
 
-# Non-kernel ABI gets this for the whole rump build, as opposed to
-# kernel ABI where we need to specifically set it here to get
-# some things like the atomic ops implementation right.
-.ifdef RUMPKMOD
-CPPFLAGS+=	-D_RUMPKERNEL
-.endif
-
 # Flip the comment to the other line if you want to use malloc(3)
 # directly instead of the kernel allocators backed by malloc(3)/mmap(2).
 # Libc malloc is a few percent faster, but doesn't emulate all kernel
@@ -121,6 +114,9 @@
 
 # include libkern source files
 KERNDIR=${RUMPTOP}/../lib/libkern
+.ifdef RUMPKMOD
+KERNMISCCPPFLAGS+=	-D_RUMPKERNEL
+.endif
 .include "${RUMPTOP}/../lib/libkern/Makefile.libkern"
 
 # Some architectures require a little special massage with atomic

Reply via email to