aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-02-11 19:50:51 +0000
committerWarner Losh <imp@FreeBSD.org>2022-02-11 19:51:24 +0000
commit3e65b7d94dfc866cfa3f725ddbe44c8bef525d6c (patch)
treec3d54a5973eaa161a6abffc3baeb09eac84a1fa5 /Makefile
parentd4b0fa45dc1531fafb1f3f1a1956056597a4722c (diff)
downloadsrc-3e65b7d94dfc866cfa3f725ddbe44c8bef525d6c.tar.gz
src-3e65b7d94dfc866cfa3f725ddbe44c8bef525d6c.zip
cleankernel: A target to delete the kernel compile file
With the meta-build, it's always a NO_CLEAN build. Provide a way to remove so one can rebuild from scratch. 'cleankernel' will delete the kernel and modules object directories. Document this in build(7). Sponsored by: Netflix Reviewed by: debdrup, markj Differential Revision: https://reviews.freebsd.org/D32978
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2b39f814250c..8bd9e37dc016 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# $FreeBSD$
#
-# The user-driven targets are:
+# The common user-driven targets are (for a complete list, see build(7)):
#
# universe - *Really* build *everything* (buildworld and
# all kernels on all architectures). Define
@@ -148,8 +148,8 @@ __DO_KERNELS?=yes
TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
check check-old check-old-dirs check-old-files check-old-libs \
- checkdpadd checkworld clean cleandepend cleandir cleanworld \
- cleanuniverse \
+ checkdpadd checkworld clean cleandepend cleandir cleankernel \
+ cleanworld cleanuniverse \
delete-old delete-old-dirs delete-old-files delete-old-libs \
depend distribute distributekernel distributekernel.debug \
distributeworld distrib-dirs distribution doxygen \