Module Name:    src
Committed By:   matt
Date:           Fri Jun 19 18:13:52 UTC 2015

Modified Files:
        src/share/mk: bsd.README bsd.own.mk

Log Message:
Add MKCOMPATTESTS knob to enable building and installing the NetBSD test
suite as part of doing MKCOMPAT


To generate a diff of this commit:
cvs rdiff -u -r1.343 -r1.344 src/share/mk/bsd.README
cvs rdiff -u -r1.854 -r1.855 src/share/mk/bsd.own.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.README
diff -u src/share/mk/bsd.README:1.343 src/share/mk/bsd.README:1.344
--- src/share/mk/bsd.README:1.343	Thu Jun 18 22:29:12 2015
+++ src/share/mk/bsd.README	Fri Jun 19 18:13:52 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.README,v 1.343 2015/06/18 22:29:12 pooka Exp $
+#	$NetBSD: bsd.README,v 1.344 2015/06/19 18:13:52 matt Exp $
 #	@(#)bsd.README	8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -136,6 +136,10 @@ MKCATPAGES	If "no", don't build or insta
 MKCOMPAT  	If "no", don't build or install the src/compat.
 		Default: yes on amd64/mips64/sparc64, no elsewhere.
 
+MKCOMPATTESTS  	If "yes", build and install the NetBSD test suite when
+		building and installing src/compat.
+		Default: no
+
 MKCOMPLEX	If "no", don't build libm support for <complex.h>
 		Default: yes
 

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.854 src/share/mk/bsd.own.mk:1.855
--- src/share/mk/bsd.own.mk:1.854	Thu Jun 18 22:29:12 2015
+++ src/share/mk/bsd.own.mk	Fri Jun 19 18:13:52 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.854 2015/06/18 22:29:12 pooka Exp $
+#	$NetBSD: bsd.own.mk,v 1.855 2015/06/19 18:13:52 matt Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -1004,7 +1004,7 @@ MKKMOD=		no
 #
 _MKVARS.no= \
 	MKBSDGREP MKBSDTAR \
-	MKCATPAGES MKCRYPTO_RC5 MKCTF MKDEBUG \
+	MKCATPAGES MKCOMPATTESTS MKCRYPTO_RC5 MKCTF MKDEBUG \
 	MKDEBUGLIB MKDTRACE MKEXTSRC MKGROFFHTMLDOC \
 	MKKYUA MKLLD MKLLDB MKLINT \
 	MKMANZ MKMCLINKER MKOBJDIRS \
@@ -1428,6 +1428,6 @@ _MKTARGET_YACC?=	${_MKMSG_YACC} ${.CURDI
 TARGETS+=	lintmanpages
 .endif
 
-TESTSBASE=	/usr/tests
+TESTSBASE=	/usr/tests${MLIBDIR:D/${MLIBDIR}}
 
 .endif	# !defined(_BSD_OWN_MK_)

Reply via email to