Add a JFLAG which can be used to speed up universe:
make universe JFLAG=-j12
This commit is contained in:
parent
fd078b3dd6
commit
0d4e175d2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131876
6
Makefile
6
Makefile
@ -235,7 +235,7 @@ universe:
|
|||||||
.for arch in i386 sparc64 alpha ia64 amd64
|
.for arch in i386 sparc64 alpha ia64 amd64
|
||||||
.for mach in ${arch} ${${arch}_mach}
|
.for mach in ${arch} ${${arch}_mach}
|
||||||
@echo ">> ${mach} started on `LC_ALL=C date`"
|
@echo ">> ${mach} started on `LC_ALL=C date`"
|
||||||
-cd ${.CURDIR} && ${MAKE} buildworld \
|
-cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
|
||||||
TARGET_ARCH=${arch} TARGET=${mach} \
|
TARGET_ARCH=${arch} TARGET=${mach} \
|
||||||
__MAKE_CONF=/dev/null \
|
__MAKE_CONF=/dev/null \
|
||||||
> _.${mach}.buildworld 2>&1
|
> _.${mach}.buildworld 2>&1
|
||||||
@ -244,7 +244,7 @@ universe:
|
|||||||
-cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
|
-cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
|
||||||
> ${.CURDIR}/_.${mach}.makeLINT 2>&1
|
> ${.CURDIR}/_.${mach}.makeLINT 2>&1
|
||||||
.endif
|
.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`"
|
@echo ">> ${mach} completed on `LC_ALL=C date`"
|
||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
@ -260,7 +260,7 @@ KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
|
|||||||
|
|
||||||
buildkernels:
|
buildkernels:
|
||||||
.for kernel in ${KERNCONFS}
|
.for kernel in ${KERNCONFS}
|
||||||
-cd ${.CURDIR} && ${MAKE} buildkernel \
|
-cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
|
||||||
KERNCONF=${kernel} \
|
KERNCONF=${kernel} \
|
||||||
__MAKE_CONF=/dev/null \
|
__MAKE_CONF=/dev/null \
|
||||||
> _.${TARGET}.${kernel} 2>&1
|
> _.${TARGET}.${kernel} 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user