Fail the 'buildkernel' target if not even one of the specified kernel configuration

files was found.

Reviewed by:	obrien
This commit is contained in:
Joseph Koshy 2000-10-25 04:31:32 +00:00
parent 2acbb2b129
commit a62264fb74

View File

@ -380,6 +380,10 @@ INSTALLKERNEL= ${_kernel}
# Builds all kernels defined by BUILDKERNELS.
#
buildkernel:
.if empty(BUILDKERNELS)
@echo ">>> ERROR: Missing kernel configuration file(s) (${KERNEL})."
@false
.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding kernel(s)"