Source-Changes-HG archive

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

[src/trunk]: src/tools/toolchain Re-add cpp; this was lost in the overhaul. ...



details:   https://anonhg.NetBSD.org/src/rev/6c18065b924b
branches:  trunk
changeset: 517492:6c18065b924b
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Nov 13 14:49:00 2001 +0000

description:
Re-add cpp; this was lost in the overhaul.  (XXX this needs to GO AWAY
and the build system needs to use ${CC} -E...!)

diffstat:

 tools/toolchain/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59bccd214db5 -r 6c18065b924b tools/toolchain/Makefile
--- a/tools/toolchain/Makefile  Tue Nov 13 14:21:03 2001 +0000
+++ b/tools/toolchain/Makefile  Tue Nov 13 14:49:00 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2001/11/12 23:16:35 tv Exp $
+#      $NetBSD: Makefile,v 1.10 2001/11/13 14:49:00 tv Exp $
 
 .include <bsd.own.mk>
 
@@ -10,8 +10,7 @@
 CONFIGURE_ARGS=        --target=${MACHINE_GNU_PLATFORM} --disable-nls
 
 .MAKEFLAGS+=   MACHINE= \
-               LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= \
-               INSTALL_CPP=
+               LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC=
 
 ALL_TARGET=    all-binutils all-gas all-ld all-gcc
 INSTALL_TARGET=        install-binutils install-gas install-ld install-gcc
@@ -22,3 +21,7 @@
 .endif
 
 .include "${.CURDIR}/../Makefile.gnuhost"
+
+afterinstall: _mvcpp
+_mvcpp:
+       mv -f ${TOOLDIR}/bin/cpp ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp



Home | Main Index | Thread Index | Old Index