Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets Change to check for nowarn instead of yes as US...



details:   https://anonhg.NetBSD.org/src/rev/fe6775aec7b7
branches:  trunk
changeset: 517790:fe6775aec7b7
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon Nov 19 06:08:01 2001 +0000

description:
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

diffstat:

 distrib/sets/makeflist |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 33e62614b8bc -r fe6775aec7b7 distrib/sets/makeflist
--- a/distrib/sets/makeflist    Mon Nov 19 05:40:28 2001 +0000
+++ b/distrib/sets/makeflist    Mon Nov 19 06:08:01 2001 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index