From dbf1ec592eb130f8c9cdadd66e7020bb30232701 Mon Sep 17 00:00:00 2001 From: Adam David Date: Fri, 6 Feb 1998 09:52:34 +0000 Subject: [PATCH] -DNOTOOLS to not rebuild any tools during buildworld --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 916cf53caa17..45e041d7a35c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.155 1997/10/10 13:02:36 asami Exp $ +# $Id: Makefile,v 1.156 1998/01/11 04:51:02 jb Exp $ # # While porting to the Alpha architecture include the bootstrap instead # of the normal build. @@ -16,6 +16,7 @@ # # -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir # -DNOCLEAN do not clean at all +# -DNOTOOLS do not rebuild any tools first # -DNOCRYPT will prevent building of crypt versions # -DNOLKM do not build loadable kernel modules # -DNOOBJDIR do not run ``${MAKE} obj'' @@ -224,6 +225,7 @@ buildworld: chflags -R noschg ${WORLDTMP}/ rm -rf ${WORLDTMP} .endif +.if !defined(NOTOOLS) @echo @echo "--------------------------------------------------------------" @echo " Making make" @@ -238,6 +240,7 @@ buildworld: ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} all && \ ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} install && \ ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} clean cleandepend +.endif @echo @echo "--------------------------------------------------------------" @echo " Making hierarchy" @@ -257,6 +260,7 @@ buildworld: @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${BMAKE} par-obj .endif +.if !defined(NOTOOLS) @echo @echo "--------------------------------------------------------------" @echo " Rebuilding bootstrap tools" @@ -267,26 +271,31 @@ buildworld: @echo " Rebuilding tools necessary to build the include files" @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${BMAKE} include-tools +.endif @echo @echo "--------------------------------------------------------------" @echo " Rebuilding /usr/include" @echo "--------------------------------------------------------------" cd ${.CURDIR} && SHARED=symlinks ${BMAKE} includes +.if !defined(NOTOOLS) @echo @echo "--------------------------------------------------------------" @echo " Rebuilding tools needed to build the libraries" @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${BMAKE} lib-tools +.endif @echo @echo "--------------------------------------------------------------" @echo " Rebuilding /usr/lib" @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${BMAKE} libraries +.if !defined(NOTOOLS) @echo @echo "--------------------------------------------------------------" @echo " Rebuilding all other tools needed to build the world" @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${BMAKE} build-tools +.endif @echo @echo "--------------------------------------------------------------" @echo " Rebuilding dependencies"