Module Name:    src
Committed By:   christos
Date:           Tue Feb  7 21:19:14 UTC 2017

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
Kernel build objdirs have a kernel name after the objdir. Use a regex for
that. Note that debug-prefix-map and debug-regex-map insert entries in a
linked list in reverse order.


To generate a diff of this commit:
cvs rdiff -u -r1.268 -r1.269 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.268 src/share/mk/bsd.sys.mk:1.269
--- src/share/mk/bsd.sys.mk:1.268	Tue Jan 17 06:09:10 2017
+++ src/share/mk/bsd.sys.mk	Tue Feb  7 16:19:13 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.268 2017/01/17 11:09:10 joerg Exp $
+#	$NetBSD: bsd.sys.mk,v 1.269 2017/02/07 21:19:13 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -31,6 +31,7 @@ REPROFLAGS+=	-fdebug-prefix-map=\$$X11SR
 LINTFLAGS+=	-R${NETBSDSRCDIR}=/usr/src -R${X11SRCDIR}=/usr/xsrc
 
 REPROFLAGS+=	-fdebug-regex-map='/usr/src/(.*)/obj.*=/usr/obj/\1'
+REPROFLAGS+=	-fdebug-regex-map='/usr/src/(.*)/obj.*/(.*)=/usr/obj/\1/\2'
 
 CFLAGS+=	${REPROFLAGS}
 CXXFLAGS+=	${REPROFLAGS}

Reply via email to