Fail the 'buildkernel' target if not even one of the specified kernel configuration
files was found. Reviewed by: obrien
This commit is contained in:
parent
2acbb2b129
commit
a62264fb74
@ -380,6 +380,10 @@ INSTALLKERNEL= ${_kernel}
|
|||||||
# Builds all kernels defined by BUILDKERNELS.
|
# Builds all kernels defined by BUILDKERNELS.
|
||||||
#
|
#
|
||||||
buildkernel:
|
buildkernel:
|
||||||
|
.if empty(BUILDKERNELS)
|
||||||
|
@echo ">>> ERROR: Missing kernel configuration file(s) (${KERNEL})."
|
||||||
|
@false
|
||||||
|
.endif
|
||||||
@echo
|
@echo
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Rebuilding kernel(s)"
|
@echo ">>> Rebuilding kernel(s)"
|
||||||
|
Loading…
Reference in New Issue
Block a user