svn commit: r295414 - head/sys/conf
Bryan Drewery
bdrewery at FreeBSD.org
Mon Feb 8 20:58:53 UTC 2016
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.
More information about the svn-src-all
mailing list