summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-02 21:25:00 +0000
committerru <ru@FreeBSD.org>2003-03-02 21:25:00 +0000
commit0a50041362fa551b46336f0c3c6d0faf524bc2d7 (patch)
tree3ef99e99ae3bba4b09e33cece878028c2d4f6d66 /sys/conf
parent8962c4b750a5dfabaada620e52b0982194875b8a (diff)
downloadFreeBSD-src-0a50041362fa551b46336f0c3c6d0faf524bc2d7.zip
FreeBSD-src-0a50041362fa551b46336f0c3c6d0faf524bc2d7.tar.gz
Abuse `cleandir' for what `clobber' was supposed to do, for peter.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.post.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 0e17773..ae66880 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -24,7 +24,10 @@ modules-${target}:
kernel-all: ${KERNEL_KO}
-kernel-cleandir kernel-obj:
+kernel-cleandir:
+ find . -maxdepth 1 ! -type d ! -name version -delete
+
+kernel-obj:
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
modules: modules-all
OpenPOWER on IntegriCloud