common-target source list is MD. make it so.

This commit is contained in:
mrg 2019-02-04 01:46:59 +00:00
parent fb95d55af4
commit 8d23280937
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mknative-gcc,v 1.98 2019/02/04 00:55:26 mrg Exp $
# $NetBSD: mknative-gcc,v 1.99 2019/02/04 01:46:59 mrg Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of gcc.
@ -302,6 +302,7 @@ get_gcc () {
mkdir -p $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH
mkdir -p $_OUTDIR/usr.bin/libcpp/arch/$MACHINE_ARCH
mkdir -p $_OUTDIR/usr.bin/include/arch
mkdir -p $_OUTDIR/usr.bin/common-target/arch
_buildname="BUILD_"
_libcppsubdir=""
_extravars="TM_H ALL_OPT_FILES"
@ -357,7 +358,7 @@ get_gcc () {
| write_mk $_OUTDIRBASE/usr.bin/common/defs.mk
getvars gcc/Makefile \
OBJS-libcommon-target \
| write_mk $_OUTDIRBASE/usr.bin/common-target/defs.mk
| write_mk $_OUTDIRBASE/usr.bin/common-target/arch/$MACHINE_ARCH.mk
write_c $_OUTDIRBASE/usr.bin/libcpp/arch/$MACHINE_ARCH/config.h <$_TMPDIR/libcpp/config.h
hfiles='auto-host configargs config bconfig bversion plugin-version multilib tm'