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

This commit is contained in:
mrg 2019-10-16 06:57:24 +00:00
parent 13a5b9a698
commit 55a26eb0f8

View File

@ -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 #####