summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradam <adam@FreeBSD.org>1998-02-06 09:52:34 +0000
committeradam <adam@FreeBSD.org>1998-02-06 09:52:34 +0000
commit9416651e391c8c68c7e2245cd88c5133818f760f (patch)
tree7c778ed7546b2de5d66cbf37b58da104f570306f
parentc610f2da0396216d46836288bed1772b4730dbe5 (diff)
downloadFreeBSD-src-9416651e391c8c68c7e2245cd88c5133818f760f.zip
FreeBSD-src-9416651e391c8c68c7e2245cd88c5133818f760f.tar.gz
-DNOTOOLS to not rebuild any tools during buildworld
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 916cf53..45e041d 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"
OpenPOWER on IntegriCloud