Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc copy sysroot-suffix.h as well, for sh3.



details:   https://anonhg.NetBSD.org/src/rev/33bb8292c2c8
branches:  trunk
changeset: 766838:33bb8292c2c8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 06:47:12 2011 +0000

description:
copy sysroot-suffix.h as well, for sh3.

diffstat:

 tools/gcc/mknative-gcc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 782694480742 -r 33bb8292c2c8 tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Sun Jul 03 06:46:49 2011 +0000
+++ b/tools/gcc/mknative-gcc    Sun Jul 03 06:47:12 2011 +0000
@@ -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 #####



Home | Main Index | Thread Index | Old Index