fix all-tree.def, and add gtyp-input.list

This commit is contained in:
mrg 2011-06-29 05:06:03 +00:00
parent d981780965
commit 3e9b4b1af1

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mknative-gcc,v 1.52 2011/06/29 02:13:59 mrg Exp $
# $NetBSD: mknative-gcc,v 1.53 2011/06/29 05:06:03 mrg Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/gcc.
@ -611,8 +611,9 @@ get_gcc () {
write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f.h <$_TMPDIR/gcc/$f.h
done
for f in all-tree.def; do
write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f <$_TMPDIR/gcc/$f
# ones we want to keep identical
for f in all-tree.def gtyp-input.list; do
cp $_TMPDIR/gcc/$f $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f
done
}