Module Name: src Committed By: mrg Date: Sun Jul 3 06:47:13 UTC 2011
Modified Files: src/tools/gcc: mknative-gcc Log Message: copy sysroot-suffix.h as well, for sh3. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/tools/gcc/mknative-gcc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/gcc/mknative-gcc diff -u src/tools/gcc/mknative-gcc:1.58 src/tools/gcc/mknative-gcc:1.59 --- src/tools/gcc/mknative-gcc:1.58 Sat Jul 2 13:25:05 2011 +++ src/tools/gcc/mknative-gcc Sun Jul 3 06:47:12 2011 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mknative-gcc,v 1.58 2011/07/02 13:25:05 mrg Exp $ +# $NetBSD: mknative-gcc,v 1.59 2011/07/03 06:47:12 mrg Exp $ # # Shell script for generating all the constants needed for a native # platform build of src/gnu/dist/gcc. @@ -619,6 +619,11 @@ for f in gtyp-input.list; do sed -e 's/^.*external\/gpl3\/gcc\/dist/SRCDIR/' < $_TMPDIR/gcc/$f > $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f done + + # special platforms + if [ "${MACHINE_ARCH}" = "sh3el" -o "${MACHINE_ARCH}" = "sh3eb" ]; then + write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/sysroot-suffix.h <$_TMPDIR/gcc/sysroot-suffix.h + fi } ##### main #####