mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue