diff --git a/make/project_config.mk b/make/project_config.mk index 05c5d06e7d..cfa757520a 100644 --- a/make/project_config.mk +++ b/make/project_config.mk @@ -173,6 +173,8 @@ endif .PHONY: config-clean defconfig menuconfig config-clean: $(summary) RM CONFIG +ifeq ($(OS),Windows_NT) MAKEFLAGS="" $(MAKE) -C $(KCONFIG_TOOL_DIR) clean +endif rm -rf $(BUILD_DIR_BASE)/include/config $(BUILD_DIR_BASE)/include/sdkconfig.h \ $(COMPONENT_KCONFIGS_SOURCE_FILE) $(COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE)