Change to check for nowarn instead of yes as USE_NEW_TOOLCHAIN changed formats

in bsd.own.mk.
Also, change the make line to use
This commit is contained in:
jmc 2001-11-19 06:08:01 +00:00
parent 4808d035f9
commit dabfb112ea
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: makeflist,v 1.36 2001/10/20 06:11:21 jmc Exp $
# $NetBSD: makeflist,v 1.37 2001/11/19 06:08:01 jmc Exp $
#
# Print out the files in some or all lists.
# Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
@ -10,7 +10,7 @@
: ${MAKE=make}
machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | $MAKE -s -f-`}
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | $MAKE -s -f-`}
tc=${USE_NEW_TOOLCHAIN:-`printf '.include <bsd.own.mk>\nxxx:\n\techo ${USE_NEW_TOOLCHAIN}' | /usr/bin/make -m /usr/src/share/mk -s -f-`}
tc=${USE_NEW_TOOLCHAIN:-`printf '.include <bsd.own.mk>\nxxx:\n\techo ${USE_NEW_TOOLCHAIN}' | ${MAKE} -s -f-`}
setd=`pwd`
nlists="base comp etc games man misc text"
xlists="xbase xcomp xcontrib xfont xserver xmisc"
@ -97,7 +97,7 @@ for setname in $lists; do
cat $setd/lists/$setname/lint.mi
fi
fi
if [ "$tc" = "yes" ]; then
if [ "$tc" = "nowarn" ]; then
if [ -f $setd/lists/$setname/tc.mi ]; then
cat $setd/lists/$setname/tc.mi
fi