Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gcc Define paths of newly generated files.
details: https://anonhg.NetBSD.org/src/rev/3386aed5e2bc
branches: trunk
changeset: 749441:3386aed5e2bc
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Mon Nov 30 06:13:37 2009 +0000
description:
Define paths of newly generated files.
diffstat:
tools/gcc/mknative-gcc | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 8afa75237f57 -r 3386aed5e2bc tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc Mon Nov 30 05:50:07 2009 +0000
+++ b/tools/gcc/mknative-gcc Mon Nov 30 06:13:37 2009 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-gcc,v 1.26 2009/11/30 05:50:07 uebayasi Exp $
+# $NetBSD: mknative-gcc,v 1.27 2009/11/30 06:13:37 uebayasi Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/gcc.
@@ -49,6 +49,21 @@
##### gnu/lib/libgcc #####
+_machine_arch_subdir=gnu/lib/lib$_subdir/arch${_archsubdir}/$MACHINE_ARCH
+
+libgcc_db_funcs=${_machine_arch_subdir}/funcs
+libgcc_db_files=${_machine_arch_subdir}/files
+libgcc_db_objs_libs=${_machine_arch_subdir}/objs.libs
+libgcc_db_objs_srcs=${_machine_arch_subdir}/objs.srcs
+libgcc_db_objs_tmpsrcs=${_machine_arch_subdir}/objs.tmpsrcs
+libgcc_db_objs_cppflags=${_machine_arch_subdir}/objs.cppflags
+libgcc_db_objs_copts=${_machine_arch_subdir}/objs.copts
+
+libgcc_srcs_mk=${_machine_arch_subdir}/srcs.mk
+libgcc_srcs_mk_tmpsrc=${_machine_arch_subdir}/srcs.tmpsrc.mk
+libgcc_srcs_mk_cppflags=${_machine_arch_subdir}/srcs.cppflags.mk
+libgcc_srcs_mk_copts=${_machine_arch_subdir}/srcs.copts.mk
+
get_libgcc_new () {
}
@@ -83,7 +98,7 @@
} | write_mk gnu/lib/lib$_subdir/arch${_archsubdir}/$MACHINE_ARCH.mk
# Generate new style files.
- if [ -n "${MKNATIVE_LIBGCC_NEW} ]
+ if [ -n "${MKNATIVE_LIBGCC_NEW}" ]; then
get_libgcc_new
fi
}
Home |
Main Index |
Thread Index |
Old Index