Subject: makeflist
To: None <tech-toolchain@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: tech-toolchain
Date: 09/21/2002 13:03:06
In src/distrib/sets, it looks like makeflist is still looking
for USE_NEW_TOOLCHAIN, which was breaking my cross-build/release
of current for the sparc. I assume at some point the tc.old files
will go away, but for now it seems to be enough to fix makeflist.
This worked for me:
Index: makeflist
===================================================================
RCS file: /cvsroot/basesrc/distrib/sets/makeflist,v
retrieving revision 1.50
diff -u -r1.50 makeflist
--- makeflist 2002/08/10 02:01:00 1.50
+++ makeflist 2002/09/21 16:55:58
@@ -12,7 +12,6 @@
machine_arch=`${MAKE} print_machine_arch`
machine_cpu=`${MAKE} print_machine_cpu`
object_fmt=`${MAKE} print_object_fmt`
-tc=`${MAKE} print_use_new_toolchain`
x11_version=`${MAKE} print_x11_version`
setd=`pwd`
nlists="base comp etc games man misc text"
@@ -135,18 +134,12 @@
cat $setd/lists/$setname/lint.mi
fi
fi
- if [ "$tc" = "yes" ]; then
- if [ -f $setd/lists/$setname/tc.mi ]; then
- cat $setd/lists/$setname/tc.mi
- fi
- if [ "$shlib" != "no" ]; then
- if [ -f $setd/lists/$setname/tc.shl ]; then
- cat $setd/lists/$setname/tc.shl
- fi
- fi
- else
- if [ -f $setd/lists/$setname/tc.old ]; then
- cat $setd/lists/$setname/tc.old
+ if [ -f $setd/lists/$setname/tc.mi ]; then
+ cat $setd/lists/$setname/tc.mi
+ fi
+ if [ "$shlib" != "no" ]; then
+ if [ -f $setd/lists/$setname/tc.shl ]; then
+ cat $setd/lists/$setname/tc.shl
fi
fi
done | awk -- '/^[^#]/ {print $1}' | sort -u
===================================================================
Gary D. Duzan