1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

Only look for NOTES as needed.

Sponsored by:	Dell EMC
This commit is contained in:
Bryan Drewery 2018-06-20 19:45:04 +00:00
parent 75e6ea22c5
commit d406018534
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335460

View File

@ -573,13 +573,13 @@ universe_${target}_${target_arch}: universe_${target}_prologue .MAKE .PHONY
universe_${target}_done: universe_${target}_kernels .PHONY
universe_${target}_kernels: universe_${target}_worlds .PHONY
universe_${target}_kernels: universe_${target}_prologue .MAKE .PHONY
.if exists(${KERNSRCDIR}/${target}/conf/NOTES)
@(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=/dev/null \
@if [ -e "${KERNSRCDIR}/${target}/conf/NOTES" ]; then \
(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=/dev/null \
${SUB_MAKE} LINT \
> ${.CURDIR}/_.${target}.makeLINT 2>&1 || \
(echo "${target} 'make LINT' failed," \
"check _.${target}.makeLINT for details"| ${MAKEFAIL}))
.endif
"check _.${target}.makeLINT for details"| ${MAKEFAIL})); \
fi
@cd ${.CURDIR}; ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \
universe_kernels
.endif # !MAKE_JUST_WORLDS