Source-Changes-HG archive

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

[src/trunk]: src/tools/toolchain update for binutils 2.13.2.1, and a few othe...



details:   https://anonhg.NetBSD.org/src/rev/2ebd5bec423f
branches:  trunk
changeset: 543637:2ebd5bec423f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Mar 01 13:09:09 2003 +0000

description:
update for binutils 2.13.2.1, and a few other changes...

diffstat:

 tools/toolchain/Makefile        |  10 ++++++----
 tools/toolchain/README.mknative |  16 ++++++++--------
 2 files changed, 14 insertions(+), 12 deletions(-)

diffs (69 lines):

diff -r ed990992cdb1 -r 2ebd5bec423f tools/toolchain/Makefile
--- a/tools/toolchain/Makefile  Sat Mar 01 13:08:42 2003 +0000
+++ b/tools/toolchain/Makefile  Sat Mar 01 13:09:09 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2003/02/07 01:52:53 lukem Exp $
+#      $NetBSD: Makefile,v 1.24 2003/03/01 13:09:09 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -25,15 +25,17 @@
 
 CCADDFLAGS=    -I${DESTDIR}/usr/include -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
 
+NEWCONFIGDIR?= ${.CURDIR}/../..
+
 bootstrap-libgcc: .configure_done
        @echo 'Creating files needed for libgcc by a native bootstrap build.'
        @MAKE=${MAKE:Q} sh ${.CURDIR}/mknative libgcc \
-               ${.OBJDIR}/build ${.CURDIR}/../.. ${MACHINE_GNU_PLATFORM}
+               ${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
 
 native: .native/.configure_done
        @echo 'Extracting GNU configury for a native toolchain.'
-       @MAKE=${MAKE:Q} sh ${.CURDIR}/mknative all \
-               ${.OBJDIR}/.native ${.CURDIR}/../.. ${MACHINE_GNU_PLATFORM}
+       @MAKE=${MAKE:Q} sh  ${.CURDIR}/mknative all \
+               ${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
 
 .native/.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
        @mkdir .native 2>/dev/null || true
diff -r ed990992cdb1 -r 2ebd5bec423f tools/toolchain/README.mknative
--- a/tools/toolchain/README.mknative   Sat Mar 01 13:08:42 2003 +0000
+++ b/tools/toolchain/README.mknative   Sat Mar 01 13:09:09 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.mknative,v 1.3 2002/02/27 18:18:59 tv Exp $
+$NetBSD: README.mknative,v 1.4 2003/03/01 13:09:09 mrg Exp $
 
 This file describes how to bootstrap the native toolchain on a new NetBSD
 platform (and how to update the new toolchain files, if needed).  These
@@ -21,7 +21,7 @@
 1. Set MKMAINTAINERTOOLS=yes in mk.conf.  (Needed so that src/tools/gettext
    gets built, eliciting proper HAVE_*GETTEXT* defns in config.h files.)
 
-2. Build and install a cross toolchain (via "build.sh -t -m MACHINE").
+2. Build and install a cross toolchain (via "build.sh -m MACHINE tools").
 
 3. In src/tools/toolchain, do "nbmake-MACHINE bootstrap-libgcc".
 
@@ -41,14 +41,14 @@
    Optionally, all of the following may be set in the environment to reduce
    the amount of code needed to build at this step.  Basically, it must be
    possible for static binaries to build and base system libs to exist so
-   that "configure" can do its job for the target--these NO* options omit
+   that "configure" can do its job for the target--these MK* options omit
    the rest for this stage of the build.
 
-   NOCRYPTO=1
-   NOLINT=1
-   NOPIC=1
-   NOPROFILE=1
-   NOSHARE=1
+   MKCRYPTO=no
+   MKLINT=no
+   MKPIC=no
+   MKPROFILE=no
+   MKSHARE=no
 
 7. In src/tools/toolchain, do "nbmake-MACHINE native".
 



Home | Main Index | Thread Index | Old Index