aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4b36d1c..66d49ab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux
+.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux distclean_linux distclean_buildroot distclean
-include .conf.mk
@@ -47,12 +47,21 @@ clean:
@$(MAKE) -C scripts/write_config/ clean
$(RM) -r build
+distclean: clean distclean_linux distclean_buildroot
+ $(RM) .conf.mk
+
clean_linux:
@$(MAKE) -C linux clean
+distclean_linux:
+ @$(MAKE) -C linux distclean
+
clean_buildroot:
@$(MAKE) -C scripts/buildroot clean
+distclean_buildroot:
+ @$(MAKE) -C scripts/buildroot distclean
+
#######################################
.conf.mk: conf.py