From 5f89cdb59841e1f0d1895084624022461ea2eb88 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Mon, 8 Feb 2016 20:57:12 +0000 Subject: [PATCH] kmod.mk: Support a beforebuild target such as bsd.prog.mk has. Sponsored by: EMC / Isilon Storage Division --- sys/conf/kmod.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 819a955fe692..89f37ffe4e49 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -249,7 +249,8 @@ _ILINKS+=x86 .endif CLEANFILES+=${_ILINKS} -all: objwarn ${PROG} +all: beforebuild .WAIT ${PROG} +beforebuild: objwarn beforedepend: ${_ILINKS}