Source-Changes-HG archive

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

[src/trunk]: src/share/mk group by directory.



details:   https://anonhg.NetBSD.org/src/rev/26142ed10a4b
branches:  trunk
changeset: 342830:26142ed10a4b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 10 16:22:57 2016 +0000

description:
group by directory.

diffstat:

 share/mk/bsd.sys.mk |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 9747a4f3d5de -r 26142ed10a4b share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sun Jan 10 16:14:27 2016 +0000
+++ b/share/mk/bsd.sys.mk       Sun Jan 10 16:22:57 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.249 2016/01/10 06:13:21 dholland Exp $
+#      $NetBSD: bsd.sys.mk,v 1.250 2016/01/10 16:22:57 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -15,16 +15,20 @@
 .endif
 
 .if ${MKREPRO:Uno} == "yes"
+.export NETBSDSRCDIR DESTDIR X11SRCDIR
+
+.if !empty(DESTDIR)
 CPPFLAGS+=     -Wp,-iremap,${DESTDIR}:
+REPROFLAGS+=   -fdebug-prefix-map=\$$DESTDIR=
+.endif
+
 CPPFLAGS+=     -Wp,-iremap,${NETBSDSRCDIR}:/usr/src
 CPPFLAGS+=     -Wp,-iremap,${X11SRCDIR}:/usr/xsrc
-.export NETBSDSRCDIR DESTDIR X11SRCDIR
-.if !empty(DESTDIR)
-REPROFLAGS+=   -fdebug-prefix-map=\$$DESTDIR=
-.endif
 REPROFLAGS+=   -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
 REPROFLAGS+=   -fdebug-prefix-map=\$$X11SRCDIR=/usr/xsrc
+
 REPROFLAGS+=   -fdebug-regex-map='/usr/src/(.*)/obj.${MACHINE}=/usr/obj/\1'
+
 CFLAGS+=       ${REPROFLAGS}
 CXXFLAGS+=     ${REPROFLAGS}
 .endif



Home | Main Index | Thread Index | Old Index