xiaoxiang781216 commented on code in PR #8442:
URL: https://github.com/apache/nuttx/pull/8442#discussion_r1097361270


##########
tools/Config.mk:
##########
@@ -570,10 +570,11 @@ define CLEAN
        $(call DELFILE,$(subst /,\,$(OBJS)))
        $(Q) if exist $(BIN) (del /f /q  $(subst /,\,$(BIN)))
        $(Q) if exist $(EXTRA) (del /f /q  $(subst /,\,$(EXTRA)))
+       $(Q) if exist *.su (del /f /q *.su)
 endef
 else
 define CLEAN
-       $(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(EXTRA)
+       $(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(EXTRA) *.su

Review Comment:
   let's add .su to EXTRA like this:
   ```
   ifeq ($(CONFIG_ARCH_COVERAGE),y)
        EXTRA = *.gcno *.gcda
   endif
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to