diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-02-08 20:58:52 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-02-08 20:58:52 +0000 |
commit | fd3581bd1c9a2179f49a1ea7b17c9fbea4b03560 (patch) | |
tree | f105a1fe7ef0e84b12088a2cefb6924c2afa321e /sys/conf | |
parent | 5f89cdb59841e1f0d1895084624022461ea2eb88 (diff) | |
download | FreeBSD-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.mk | 1 |
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. |