Temporarily revert r251058 - it breaks documented use of makeoptions

including the tinderbox.

 http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full
 make: don't know how to make modules-all. Stop
 make: stopped in /obj/i386.i386/src/sys/PAE
 *** Error code 2
This commit is contained in:
Peter Wemm 2013-05-28 21:29:05 +00:00
parent f9b20fc804
commit 25fbccdce0

View File

@ -983,16 +983,9 @@ buildkernel:
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> stage 3.2: building the kernel"
@echo ">>> stage 3.2: building everything"
@echo "--------------------------------------------------------------"
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} kernel-all -DNO_MODULES_OBJ
@echo
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules)
@echo "--------------------------------------------------------------"
@echo ">>> stage 3.3: building the modules"
@echo "--------------------------------------------------------------"
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} modules-all -DNO_MODULES_OBJ
.endif
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} all -DNO_MODULES_OBJ
@echo "--------------------------------------------------------------"
@echo ">>> Kernel build for ${_kernel} completed on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"