From 3e9b4b1af12a199d24d790a4e84c39e902b498c8 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 29 Jun 2011 05:06:03 +0000 Subject: [PATCH] fix all-tree.def, and add gtyp-input.list --- tools/gcc/mknative-gcc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/gcc/mknative-gcc b/tools/gcc/mknative-gcc index 16aeffd2c477..4d6c46a9121f 100755 --- a/tools/gcc/mknative-gcc +++ b/tools/gcc/mknative-gcc @@ -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 }