Author: cy
Date: Fri Jul 15 04:43:38 2016
New Revision: 302865
URL: https://svnweb.freebsd.org/changeset/base/302865

Log:
  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

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Fri Jul 15 04:42:08 2016        (r302864)
+++ head/Makefile.inc1  Fri Jul 15 04:43:38 2016        (r302865)
@@ -1140,6 +1140,8 @@ BUILDKERNELS+=    ${_kernel}
 .if empty(INSTALLKERNEL) && !defined(NO_INSTALLKERNEL)
 INSTALLKERNEL= ${_kernel}
 .endif
+.else
+.error Missing KERNCONF ${KERNCONFDIR}/${_kernel}
 .endif
 .endfor
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to