aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2000-10-25 04:31:32 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2000-10-25 04:31:32 +0000
commita62264fb74c8a3412473f4493266f98714fa119a (patch)
tree61e140cf9a16490a9be6f146006b3ebc978ccf56 /Makefile.inc1
parent2acbb2b129dd0d29bf9afb58d654d9223f5e0efe (diff)
downloadsrc-a62264fb74c8a3412473f4493266f98714fa119a.tar.gz
src-a62264fb74c8a3412473f4493266f98714fa119a.zip
Fail the 'buildkernel' target if not even one of the specified kernel configuration
files was found. Reviewed by: obrien
Notes
Notes: svn path=/head/; revision=67547
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)"