When building multiple kernels using KERNCONF, non-existent KERNCONF
files will produce an error and buildkernel will fail. Previously missing KERNCONF files silently failed giving no indication as to why, only to subsequently discover during installkernel that the desired kernel was never built in the first place. Reviewed by: ngie@ MFC after: 1 week Differential Revision: D7167
This commit is contained in:
parent
7d590c7345
commit
507cef9302
@ -1140,6 +1140,8 @@ BUILDKERNELS+= ${_kernel}
|
||||
.if empty(INSTALLKERNEL) && !defined(NO_INSTALLKERNEL)
|
||||
INSTALLKERNEL= ${_kernel}
|
||||
.endif
|
||||
.else
|
||||
.error Missing KERNCONF ${KERNCONFDIR}/${_kernel}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user