aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3ce77042cd68..c03c5922a0e0 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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)"