summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-07-09 13:55:50 +0000
committerphk <phk@FreeBSD.org>2004-07-09 13:55:50 +0000
commit98f388939d11b9e5db684c11496611b81fa9d66a (patch)
treea0b9c5f50e87dcc05241da5f219871d475ba25f6 /Makefile
parentf51d81efae8a07fbc6059c6602fd4ed3a8d528e9 (diff)
downloadFreeBSD-src-98f388939d11b9e5db684c11496611b81fa9d66a.zip
FreeBSD-src-98f388939d11b9e5db684c11496611b81fa9d66a.tar.gz
Add a JFLAG which can be used to speed up universe:
make universe JFLAG=-j12
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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
OpenPOWER on IntegriCloud