summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfig/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index ee71cca..39a6e76 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -95,6 +95,8 @@ $(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c
clean::
@rm -f $(CT_TOP_DIR)/kconfig/{,m}conf
+ @rmdir --ignore-fail-on-non-empty $(CT_TOP_DIR)/kconfig
+ @rm -f $(CT_TOP_DIR)/config
@rm -rf $(CT_TOP_DIR)/config.gen
distclean::