Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Simplify how MKZFS is set. No functional changes.
details: https://anonhg.NetBSD.org/src/rev/93050b1ec8e9
branches: trunk
changeset: 749722:93050b1ec8e9
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Dec 06 16:15:15 2009 +0000
description:
Simplify how MKZFS is set. No functional changes.
diffstat:
share/mk/bsd.own.mk | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
diffs (50 lines):
diff -r 0aa0428cb26c -r 93050b1ec8e9 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Dec 06 14:37:36 2009 +0000
+++ b/share/mk/bsd.own.mk Sun Dec 06 16:15:15 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.602 2009/12/04 11:21:07 haad Exp $
+# $NetBSD: bsd.own.mk,v 1.603 2009/12/06 16:15:15 uebayasi Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -663,6 +663,13 @@
.endif
#
+# We want to build zfs only for i386 and amd64 by default for now.
+#
+.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
+MKZFS?= yes
+.endif
+
+#
# MK* options which default to "yes".
#
_MKVARS.yes= \
@@ -698,7 +705,7 @@
MKMANDOC MKMANZ MKOBJDIRS \
MKPCC MKPCCCMDS \
MKSOFTFLOAT MKSTRIPIDENT \
- MKUNPRIVED MKUPDATE MKX11
+ MKUNPRIVED MKUPDATE MKX11 MKZFS
.for var in ${_MKVARS.no}
${var}?=no
.endfor
@@ -720,17 +727,6 @@
.endif
#
-# We want to build zfs only for i386 and amd64 by default for now.
-#
-.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
-MKZFS?= yes
-_MKVARS.yes+= MKZFS
-.else
-MKZFS?= no
-_MKVARS.no+= MKZFS
-.endif
-
-#
# Force some options off if their dependencies are off.
#
Home |
Main Index |
Thread Index |
Old Index