You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/02/06 13:14:23 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8442: tools/Config: stack usage(.su) file should be removed on clean phase

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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org