Module Name: src Committed By: christos Date: Mon Jun 11 01:34:03 UTC 2018
Modified Files: src/share/mk: bsd.sys.mk Log Message: Handle more objdir variations for MKREPRO (untested) To generate a diff of this commit: cvs rdiff -u -r1.279 -r1.280 src/share/mk/bsd.sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.sys.mk diff -u src/share/mk/bsd.sys.mk:1.279 src/share/mk/bsd.sys.mk:1.280 --- src/share/mk/bsd.sys.mk:1.279 Fri Jun 1 23:02:30 2018 +++ src/share/mk/bsd.sys.mk Sun Jun 10 21:34:03 2018 @@ -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,${NETBSDSRCDIR}:/ 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}=