Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Use BUILDRUMP_IMACROS if specified.



details:   https://anonhg.NetBSD.org/src/rev/c0b79aa743f8
branches:  trunk
changeset: 810276:c0b79aa743f8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 24 09:45:44 2015 +0000

description:
Use BUILDRUMP_IMACROS if specified.

diffstat:

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

diffs (19 lines):

diff -r af1d131a35f4 -r c0b79aa743f8 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Mon Aug 24 09:45:29 2015 +0000
+++ b/sys/rump/Makefile.rump    Mon Aug 24 09:45:44 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.114 2015/08/21 12:39:07 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.115 2015/08/24 09:45:44 pooka Exp $
 #
 
 .if !defined(_RUMP_MK)
@@ -46,6 +46,9 @@
 CWARNFLAGS+=   -Wno-format-zero-length -Wno-pointer-sign
 
 CPPFLAGS+=     -imacros ${RUMPTOP}/include/opt/opt_rumpkernel.h
+.ifdef BUILDRUMP_IMACROS
+CPPFLAGS+=     -imacros ${BUILDRUMP_IMACROS}
+.endif
 
 CPPFLAGS+=     -I${.CURDIR} -I.
 CPPFLAGS+=     -I${RUMPTOP}/../../common/include



Home | Main Index | Thread Index | Old Index