Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets Move the list of non-_MKVARS.* make variables f...
details: https://anonhg.NetBSD.org/src/rev/b5d52f974871
branches: trunk
changeset: 749826:b5d52f974871
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Dec 10 13:25:19 2009 +0000
description:
Move the list of non-_MKVARS.* make variables from .for code to MKEXTRAVARS.
List one variable in one line for readability. No functional changes.
diffstat:
distrib/sets/sets.subr | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r be81aacb7f90 -r b5d52f974871 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr Thu Dec 10 13:19:21 2009 +0000
+++ b/distrib/sets/sets.subr Thu Dec 10 13:25:19 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sets.subr,v 1.106 2009/12/10 13:19:21 uebayasi Exp $
+# $NetBSD: sets.subr,v 1.107 2009/12/10 13:25:19 uebayasi Exp $
#
#
@@ -26,6 +26,14 @@
# XXX don't hardcode
MKEXTRAVARS="\
+ MACHINE \
+ MACHINE_ARCH \
+ MACHINE_CPU \
+ HAVE_BINUTILS \
+ HAVE_GCC \
+ HAVE_GDB \
+ OBJECT_FMT \
+ TOOLCHAIN_MISSING \
EXTSRCS \
MKMANZ \
MKBFD \
@@ -161,9 +169,7 @@
. endif
.endif
all:
-.for i in MACHINE MACHINE_ARCH MACHINE_CPU \
- HAVE_BINUTILS HAVE_GCC HAVE_GDB OBJECT_FMT TOOLCHAIN_MISSING \
- ${MKEXTRAVARS} ${_MKVARS_yes} ${_MKVARS_no}
+.for i in ${MKEXTRAVARS} ${_MKVARS_yes} ${_MKVARS_no}
@echo "export \$i=\"\${\$i}\""
.endfor
@@ -228,7 +234,7 @@
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
-# # $NetBSD: sets.subr,v 1.106 2009/12/10 13:19:21 uebayasi Exp $
+# # $NetBSD: sets.subr,v 1.107 2009/12/10 13:25:19 uebayasi Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root
Home |
Main Index |
Thread Index |
Old Index