Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Give a cpp hint if the native kernel abi is supported.



details:   https://anonhg.NetBSD.org/src/rev/f8a4022482ad
branches:  trunk
changeset: 754296:f8a4022482ad
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Apr 26 23:01:53 2010 +0000

description:
Give a cpp hint if the native kernel abi is supported.

diffstat:

 sys/rump/Makefile.rump |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fccf68597560 -r f8a4022482ad sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Mon Apr 26 22:58:53 2010 +0000
+++ b/sys/rump/Makefile.rump    Mon Apr 26 23:01:53 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.55 2010/03/28 04:29:34 mrg Exp $
+#      $NetBSD: Makefile.rump,v 1.56 2010/04/26 23:01:53 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -10,6 +10,8 @@
 # use rump ABI instead of the NetBSD kernel ABI.
 .ifndef RUMPKMOD
 CPPFLAGS:=     -I${RUMPTOP}/include ${CPPFLAGS}
+.else
+CPPFLAGS+=     -D_RUMP_NATIVE_ABI
 .endif
 
 CFLAGS+=       -ffreestanding -fno-strict-aliasing



Home | Main Index | Thread Index | Old Index