Change the universe target to warn the user for every world or kernel that
fails. The error message includes a reference to the relevant log file. Approved by: phk MFC after: 1 week
This commit is contained in:
parent
ebf07c3e19
commit
33367c7ffe
22
Makefile
22
Makefile
@ -292,22 +292,28 @@ universe: universe_${target}
|
|||||||
universe_${target}:
|
universe_${target}:
|
||||||
.if !defined(MAKE_JUST_KERNELS)
|
.if !defined(MAKE_JUST_KERNELS)
|
||||||
@echo ">> ${target} started on `LC_ALL=C date`"
|
@echo ">> ${target} started on `LC_ALL=C date`"
|
||||||
-cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
|
@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
|
||||||
|
${MAKE} ${JFLAG} buildworld \
|
||||||
TARGET=${target} \
|
TARGET=${target} \
|
||||||
__MAKE_CONF=/dev/null \
|
> _.${target}.buildworld 2>&1 || \
|
||||||
> _.${target}.buildworld 2>&1
|
echo "${target} world failed," \
|
||||||
|
"check _.${target}.buildworld for details")
|
||||||
@echo ">> ${target} buildworld completed on `LC_ALL=C date`"
|
@echo ">> ${target} buildworld completed on `LC_ALL=C date`"
|
||||||
.endif
|
.endif
|
||||||
.if exists(${.CURDIR}/sys/${target}/conf/NOTES)
|
.if exists(${.CURDIR}/sys/${target}/conf/NOTES)
|
||||||
-cd ${.CURDIR}/sys/${target}/conf && ${MAKE} LINT \
|
@(cd ${.CURDIR}/sys/${target}/conf && env __MAKE_CONF=/dev/null \
|
||||||
> ${.CURDIR}/_.${target}.makeLINT 2>&1
|
${MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \
|
||||||
|
echo "${target} 'make LINT' failed," \
|
||||||
|
"check _.${target}.makeLINT for details")
|
||||||
.endif
|
.endif
|
||||||
.for kernel in ${KERNCONFS}
|
.for kernel in ${KERNCONFS}
|
||||||
-cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
|
@(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \
|
||||||
|
${MAKE} ${JFLAG} buildkernel \
|
||||||
TARGET=${target} \
|
TARGET=${target} \
|
||||||
KERNCONF=${kernel} \
|
KERNCONF=${kernel} \
|
||||||
__MAKE_CONF=/dev/null \
|
> _.${target}.${kernel} 2>&1 || \
|
||||||
> _.${target}.${kernel} 2>&1
|
echo "${target} ${kernel} kernel failed," \
|
||||||
|
"check _.${target}.${kernel} for details")
|
||||||
.endfor
|
.endfor
|
||||||
@echo ">> ${target} completed on `LC_ALL=C date`"
|
@echo ">> ${target} completed on `LC_ALL=C date`"
|
||||||
.endfor
|
.endfor
|
||||||
|
Loading…
Reference in New Issue
Block a user