kmod.mk: Support a beforebuild target such as bsd.prog.mk has.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-02-08 20:57:12 +00:00
parent 7a22e1974d
commit 5f89cdb598

View File

@ -249,7 +249,8 @@ _ILINKS+=x86
.endif
CLEANFILES+=${_ILINKS}
all: objwarn ${PROG}
all: beforebuild .WAIT ${PROG}
beforebuild: objwarn
beforedepend: ${_ILINKS}