diff options
author | ru <ru@FreeBSD.org> | 2003-03-02 21:25:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-02 21:25:00 +0000 |
commit | 0a50041362fa551b46336f0c3c6d0faf524bc2d7 (patch) | |
tree | 3ef99e99ae3bba4b09e33cece878028c2d4f6d66 /sys/conf | |
parent | 8962c4b750a5dfabaada620e52b0982194875b8a (diff) | |
download | FreeBSD-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.mk | 5 |
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 |