Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 20:58:52 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295414 - head/sys/conf
Message-ID:  <201602082058.u18Kwq7t034143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Feb  8 20:58:52 2016
New Revision: 295414
URL: https://svnweb.freebsd.org/changeset/base/295414

Log:
  kmod.mk: Ensure ILINKS are created before building.
  
  This allows skipping 'make depend' or running 'make clean all' without
  getting a flip-flopping dependency due to the exists() just below.
  Otherwise an error is encountered, such as:
    fatal error: 'machine/endian.h' file not found.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Mon Feb  8 20:57:12 2016	(r295413)
+++ head/sys/conf/kmod.mk	Mon Feb  8 20:58:52 2016	(r295414)
@@ -253,6 +253,7 @@ all: beforebuild .WAIT ${PROG}
 beforebuild: objwarn
 
 beforedepend: ${_ILINKS}
+beforebuild: ${_ILINKS}
 
 # Ensure that the links exist without depending on it when it exists which
 # causes all the modules to be rebuilt when the directory pointed to changes.



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