Source-Changes-HG archive

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

[src/trunk]: src/share/mk The compat build plays games with MAKEOBJDIR and un...



details:   https://anonhg.NetBSD.org/src/rev/c2781ea4e1d2
branches:  trunk
changeset: 833276:c2781ea4e1d2
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 17 23:37:22 2018 +0000

description:
The compat build plays games with MAKEOBJDIR and unsets MAKEOBJDIRPREFIX.
Keep using our standard NETBSDOBJDIR if it was set.

diffstat:

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

diffs (19 lines):

diff -r 33cfd52a3256 -r c2781ea4e1d2 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sun Jun 17 22:42:41 2018 +0000
+++ b/share/mk/bsd.sys.mk       Sun Jun 17 23:37:22 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.281 2018/06/13 15:46:26 christos Exp $
+#      $NetBSD: bsd.sys.mk,v 1.282 2018/06/17 23:37:22 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -31,6 +31,9 @@
 REPROFLAGS+=   -fdebug-prefix-map=\$$X11SRCDIR=/usr/xsrc
 .if defined(MAKEOBJDIRPREFIX)
 NETBSDOBJDIR=  ${MAKEOBJDIRPREFIX}${NETBSDSRCDIR}
+.endif
+
+.if defined(NETBSDOBJDIR)
 .export NETBSDOBJDIR
 REPROFLAGS+=   -fdebug-prefix-map=\$$NETBSDOBJDIR=/usr/obj
 .endif



Home | Main Index | Thread Index | Old Index