summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-05-23 04:20:59 +0000
committerjb <jb@FreeBSD.org>2008-05-23 04:20:59 +0000
commite78530f9eac2bd324e480210988b7d12c10734b5 (patch)
tree2f53a6482ca970ecfe0728e3550c09d167913aa1 /Makefile
parent1ebf94be7defb5db3cfaca6457012b0bea9706d4 (diff)
downloadFreeBSD-src-e78530f9eac2bd324e480210988b7d12c10734b5.zip
FreeBSD-src-e78530f9eac2bd324e480210988b7d12c10734b5.tar.gz
Add a knob to allow just the kernels to be built during a 'make universe'.
This is useful when wanting to retry a broken build using NOCLEAN and the buildworlds are known to have completed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a020a85..80838cc 100644
--- a/Makefile
+++ b/Makefile
@@ -290,12 +290,14 @@ KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
universe: universe_${target}
.ORDER: universe_prologue universe_${target} universe_epilogue
universe_${target}:
+.if !defined(MAKE_JUST_KERNELS)
@echo ">> ${target} started on `LC_ALL=C date`"
-cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
TARGET=${target} \
__MAKE_CONF=/dev/null \
> _.${target}.buildworld 2>&1
@echo ">> ${target} buildworld completed on `LC_ALL=C date`"
+.endif
.if exists(${.CURDIR}/sys/${target}/conf/NOTES)
-cd ${.CURDIR}/sys/${target}/conf && ${MAKE} LINT \
> ${.CURDIR}/_.${target}.makeLINT 2>&1
OpenPOWER on IntegriCloud