Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Handle more objdir variations for MKREPRO (untested)
details: https://anonhg.NetBSD.org/src/rev/6bef16275cc1
branches: trunk
changeset: 319775:6bef16275cc1
user: christos <christos%NetBSD.org@localhost>
date: Mon Jun 11 01:34:03 2018 +0000
description:
Handle more objdir variations for MKREPRO (untested)
diffstat:
share/mk/bsd.sys.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 8eb9da0149de -r 6bef16275cc1 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun Jun 10 17:55:11 2018 +0000
+++ b/share/mk/bsd.sys.mk Mon Jun 11 01:34:03 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.279 2018/06/02 03:02:30 christos Exp $
+# $NetBSD: bsd.sys.mk,v 1.280 2018/06/11 01:34:03 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -28,6 +28,12 @@
CPPFLAGS+= -Wp,-iremap,${X11SRCDIR}:/usr/xsrc
REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
REPROFLAGS+= -fdebug-prefix-map=\$$X11SRCDIR=/usr/xsrc
+.if defined(MAKEOBJDIRPREFIX)
+REPROFLAGS+= -fdebug-prefix-map=\$$MAKEOBJDIRPREFIX=/usr/obj
+.endif
+.if defined(MAKEOBJDIR)
+REPROFLAGS+= -fdebug-prefix-map=\$$MAKEOBJDIR=/usr/obj
+.endif
LINTFLAGS+= -R${NETBSDSRCDIR}=/usr/src -R${X11SRCDIR}=/usr/xsrc
LINTFLAGS+= -R${DESTDIR}=
Home |
Main Index |
Thread Index |
Old Index