summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/Config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk
index b7f8d9bbe..f05933f1a 100644
--- a/nuttx/tools/Config.mk
+++ b/nuttx/tools/Config.mk
@@ -154,10 +154,12 @@ define ARCHIVE
endef
endif
-define CLEAN
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+define CLEAN
$(Q) rm -f *.o *.a
+endef
else
+define CLEAN
$(Q) rm -f *.o *.a *~ .*.swp
-endif
endef
+endif