summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-02-08 20:58:52 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-02-08 20:58:52 +0000
commitfd3581bd1c9a2179f49a1ea7b17c9fbea4b03560 (patch)
treef105a1fe7ef0e84b12088a2cefb6924c2afa321e /sys/conf
parent5f89cdb59841e1f0d1895084624022461ea2eb88 (diff)
downloadFreeBSD-src-fd3581bd1c9a2179f49a1ea7b17c9fbea4b03560.zip
FreeBSD-src-fd3581bd1c9a2179f49a1ea7b17c9fbea4b03560.tar.gz
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
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 89f37ff..61e4ec5 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -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.
OpenPOWER on IntegriCloud