Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc common-target source list is MD. make it so.



details:   https://anonhg.NetBSD.org/src/rev/72dae395fe66
branches:  trunk
changeset: 448474:72dae395fe66
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Feb 04 01:46:59 2019 +0000

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

diffstat:

 tools/gcc/mknative-gcc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 45ffd9e0acb2 -r 72dae395fe66 tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Mon Feb 04 01:07:34 2019 +0000
+++ b/tools/gcc/mknative-gcc    Mon Feb 04 01:46:59 2019 +0000
@@ -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 @@
        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 @@
                        | 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'



Home | Main Index | Thread Index | Old Index