From 98f388939d11b9e5db684c11496611b81fa9d66a Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 9 Jul 2004 13:55:50 +0000 Subject: Add a JFLAG which can be used to speed up universe: make universe JFLAG=-j12 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 76e3180..ccc9f94 100644 --- a/Makefile +++ b/Makefile @@ -235,7 +235,7 @@ universe: .for arch in i386 sparc64 alpha ia64 amd64 .for mach in ${arch} ${${arch}_mach} @echo ">> ${mach} started on `LC_ALL=C date`" - -cd ${.CURDIR} && ${MAKE} buildworld \ + -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \ TARGET_ARCH=${arch} TARGET=${mach} \ __MAKE_CONF=/dev/null \ > _.${mach}.buildworld 2>&1 @@ -244,7 +244,7 @@ universe: -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \ > ${.CURDIR}/_.${mach}.makeLINT 2>&1 .endif - cd ${.CURDIR} && ${MAKE} buildkernels TARGET_ARCH=${arch} TARGET=${mach} + cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernels TARGET_ARCH=${arch} TARGET=${mach} @echo ">> ${mach} completed on `LC_ALL=C date`" .endfor .endfor @@ -260,7 +260,7 @@ KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \ buildkernels: .for kernel in ${KERNCONFS} - -cd ${.CURDIR} && ${MAKE} buildkernel \ + -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \ KERNCONF=${kernel} \ __MAKE_CONF=/dev/null \ > _.${TARGET}.${kernel} 2>&1 -- cgit v1.1