summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d8400a0bd..fe9672412 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ help:
@echo 'Cleaning targets:'
@echo ' clean - Remove firmware and build directories'
@echo ' cleandir - Same as "clean", but also remove all built toolchains'
+ @echo ' cleansystem - Same as "cleandir", but only remove active system'
@echo ' cleankernel - Remove kernel dir, useful if you changed any kernel patches'
@echo ' distclean - Same as "cleandir", but also remove downloaded'
@echo ' distfiles and .config'
@@ -98,6 +99,10 @@ cleandir dirclean: .prereq_done
-@${GMAKE_INV} cleandir
@-rm -f make.log .prereq_done
+cleansystem: .prereq_done
+ -@${GMAKE_INV} cleansystem
+ @-rm -f make.log .prereq_done
+
distclean cleandist:
-@${GMAKE_INV} distclean
@-rm -f make.log .prereq_done