tinderbox/universe: Don't execute KERNCONFS lookup if not needed.

Sponsored by:	Dell EMC
This commit is contained in:
Bryan Drewery 2017-12-07 00:31:28 +00:00
parent 9ef3e71cac
commit 1ccacaed5f

View File

@ -585,6 +585,7 @@ universe_${target}: universe_${target}_done
universe_${target}_done:
@echo ">> ${target} completed on `LC_ALL=C date`"
.endfor
.if make(universe_kernconfs) || make(universe_kernels)
universe_kernels: universe_kernconfs .PHONY
.if !defined(TARGET)
TARGET!= uname -m
@ -621,6 +622,7 @@ universe_kernconf_${TARGET}_${kernel}: .MAKE
(echo "${TARGET} ${kernel} kernel failed," \
"check _.${TARGET}.${kernel} for details"| ${MAKEFAIL}))
.endfor
.endif # make(universe_kernels)
universe: universe_epilogue
universe_epilogue: .PHONY
@echo "--------------------------------------------------------------"