From cc66670114402843c814c45d57abd56a1fc0625b Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Wed, 24 Feb 2016 17:19:02 +0000 Subject: [PATCH] Support beforebuild in the kernel. Sponsored by: EMC / Isilon Storage Division --- sys/conf/kern.post.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index d3b398e87b5c..a82d904227fc 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -86,7 +86,8 @@ ports-${__target}: .ORDER: kernel-install modules-install -kernel-all: ${KERNEL_KO} ${KERNEL_EXTRA} +beforebuild: .PHONY +kernel-all: beforebuild .WAIT ${KERNEL_KO} ${KERNEL_EXTRA} kernel-cleandir: kernel-clean kernel-cleandepend