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/f024fef8a8e7
branches:  trunk
changeset: 838891:f024fef8a8e7
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 9a4a0530de47 -r f024fef8a8e7 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