From 68d969232c49a7069e2bc137d1e28215277ffa25 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Mon, 8 Feb 2016 20:58:52 +0000 Subject: [PATCH] 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 --- sys/conf/kmod.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 89f37ffe4e49..61e4ec56d187 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.