From: Matthew Dillon Date: Wed, 1 Sep 2010 05:25:33 +0000 (-0700) Subject: build - Adjust kern.post.mk warning X-Git-Url: https://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/commitdiff_plain/8b91125a7359833d4d20f8e8df6b2b26421634f4 build - Adjust kern.post.mk warning * installkernel was blowing away the modules before warning that the boot was out of date. Warn before blowing away anything (and abort the installkernel). --- diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 0ff5813f09..d53389e877 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -215,7 +215,7 @@ modules-tags: # We may have to remove deprecated kernel.old files before we can create # the kernel.old directory. # -modules-install: +modules-install: kernel-installable .if !defined(NO_MODULES_OLD) . ifdef NO_KERNEL_OLD_STRIP set -- ${DESTDIR}${DESTKERNDIR}/*; \