Module Name: src
Committed By: pooka
Date: Mon Aug 24 09:45:45 UTC 2015
Modified Files:
src/sys/rump: Makefile.rump
Log Message:
Use BUILDRUMP_IMACROS if specified.
To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/rump/Makefile.rump
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/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.114 src/sys/rump/Makefile.rump:1.115
--- src/sys/rump/Makefile.rump:1.114 Fri Aug 21 12:39:07 2015
+++ src/sys/rump/Makefile.rump Mon Aug 24 09:45:44 2015
@@ -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 @@ CFLAGS+= -ffreestanding -fno-strict-alia
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