Fix previous; don't forget extra vars other than MK*.

This commit is contained in:
uebayasi 2009-12-02 14:28:24 +00:00
parent 7a06940f80
commit 62258ab60d

View File

@ -1,4 +1,4 @@
# $NetBSD: sets.subr,v 1.94 2009/12/02 14:13:12 uebayasi Exp $
# $NetBSD: sets.subr,v 1.95 2009/12/02 14:28:24 uebayasi Exp $
#
#
@ -23,7 +23,9 @@
# OBJECT_FMT
# as well as:
#
MKVARS="\
# XXX don't hardcode
MKEXTRAVARS="\
USE_INET6 \
USE_KERBEROS \
USE_LDAP \
@ -141,13 +143,13 @@ MKXORG:=no
all:
.for i in MACHINE MACHINE_ARCH MACHINE_CPU \
HAVE_BINUTILS HAVE_GCC HAVE_GDB OBJECT_FMT TOOLCHAIN_MISSING \
\${_MKVARS.yes} \${_MKVARS.no}
${MKEXTRAVARS} \${_MKVARS.yes} \${_MKVARS.no}
@echo "export \$i=\${\$i}"
.endfor
EOMAKE
); do
# echo 1>&2 "DEBUG: read $x"
echo 1>&2 "DEBUG: read $x"
eval $x
done
IFS=$oIFS
@ -195,7 +197,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.94 2009/12/02 14:13:12 uebayasi Exp $
# # $NetBSD: sets.subr,v 1.95 2009/12/02 14:28:24 uebayasi Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root