Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Define lists of MK* variable names as _MKVARS.yes a...
details: https://anonhg.NetBSD.org/src/rev/cc84fcf39bec
branches: trunk
changeset: 749558:cc84fcf39bec
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Dec 02 14:11:20 2009 +0000
description:
Define lists of MK* variable names as _MKVARS.yes and _MKVARS.no. They're
referred to by syspkg.
diffstat:
share/mk/bsd.own.mk | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r 552530b11f11 -r cc84fcf39bec share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Wed Dec 02 13:49:32 2009 +0000
+++ b/share/mk/bsd.own.mk Wed Dec 02 14:11:20 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.599 2009/12/01 09:09:40 uebayasi Exp $
+# $NetBSD: bsd.own.mk,v 1.600 2009/12/02 14:11:20 uebayasi Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -665,7 +665,7 @@
#
# MK* options which default to "yes".
#
-.for var in \
+_MKVARS.yes= \
MKATF \
MKBINUTILS \
MKCATPAGES MKCRYPTO MKCOMPLEX MKCVS \
@@ -685,13 +685,14 @@
MKSHARE MKSKEY MKSTATICLIB \
MKX11FONTS \
MKYP
+.for var in ${_MKVARS.yes}
${var}?= yes
.endfor
#
# MK* options which default to "no".
#
-.for var in \
+_MKVARS.no= \
MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG MKDEBUGLIB \
MKEXTSRC \
MKLVM \
@@ -699,6 +700,7 @@
MKPCC MKPCCCMDS \
MKSOFTFLOAT MKSTRIPIDENT \
MKUNPRIVED MKUPDATE MKX11
+.for var in ${_MKVARS.no}
${var}?=no
.endfor
Home |
Main Index |
Thread Index |
Old Index