Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc copy arm-cpu.h and arm-isa.h for arm platforms.



details:   https://anonhg.NetBSD.org/src/rev/484e55c0740e
branches:  trunk
changeset: 460292:484e55c0740e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 16 06:57:24 2019 +0000

description:
copy arm-cpu.h and arm-isa.h for arm platforms.

diffstat:

 tools/gcc/mknative-gcc |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r f839d8d13220 -r 484e55c0740e tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Wed Oct 16 06:53:34 2019 +0000
+++ b/tools/gcc/mknative-gcc    Wed Oct 16 06:57:24 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp $
+#      $NetBSD: mknative-gcc,v 1.102 2019/10/16 06:57:24 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of gcc.
@@ -422,6 +422,13 @@
        if [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "x86_64" ]; then
                write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/i386-builtin-types.inc <$_TMPDIR/gcc/i386-builtin-types.inc
        fi
+
+       case "${MACHINE_ARCH}" in
+       (*arm*)
+               write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/arm-cpu.h <$_TMPDIR/gcc/arm-cpu.h
+               write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/arm-isa.h <$_TMPDIR/gcc/arm-isa.h
+               ;;
+       esac
 }
 
 ##### main #####



Home | Main Index | Thread Index | Old Index