Module Name: src Committed By: mrg Date: Wed Oct 16 06:57:24 UTC 2019
Modified Files: src/tools/gcc: mknative-gcc Log Message: copy arm-cpu.h and arm-isa.h for arm platforms. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 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.101 src/tools/gcc/mknative-gcc:1.102 --- src/tools/gcc/mknative-gcc:1.101 Sat Feb 23 06:54:45 2019 +++ src/tools/gcc/mknative-gcc Wed Oct 16 06:57:24 2019 @@ -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 @@ __EOF__ 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 #####