From 5e623da2dd7bf0ee80ee910a1275ca325c73206e Mon Sep 17 00:00:00 2001 From: chao an Date: Mon, 6 Feb 2023 20:03:14 +0800 Subject: [PATCH] tools/Config: stack usage(.su) file should be removed on clean phase Signed-off-by: chao an --- tools/Config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/Config.mk b/tools/Config.mk index 63f3a3560a..ec61dfc64f 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -561,6 +561,10 @@ ifeq ($(CONFIG_ARCH_COVERAGE),y) EXTRA = *.gcno *.gcda endif +ifeq ($(CONFIG_STACK_USAGE),y) + EXTRA += *.su +endif + ifeq ($(CONFIG_WINDOWS_NATIVE),y) define CLEAN $(Q) if exist *$(OBJEXT) (del /f /q *$(OBJEXT))