Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Actually, push defining _RUMPKERNE...



details:   https://anonhg.NetBSD.org/src/rev/a5643acac2ba
branches:  trunk
changeset: 754765:a5643acac2ba
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue May 11 22:21:05 2010 +0000

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

diffstat:

 sys/rump/librump/rumpkern/Makefile.rumpkern |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 1b6d2fc86925 -r a5643acac2ba sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Tue May 11 22:18:10 2010 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Tue May 11 22:21:05 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index