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
This commit is contained in:
parent
bbc7e0d690
commit
68d969232c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user