Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 04:43:38 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r302865 - head
Message-ID:  <201607150443.u6F4hcan060828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607150443.u6F4hcan060828>