You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/04/29 04:28:25 UTC

[incubator-nuttx] 03/06: Remove the residual files in the distclean action

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ee9daea58665554440f59659ae07a3b697d4bc58
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Apr 26 01:08:13 2020 +0800

    Remove the residual files in the distclean action
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 tools/Makefile.unix | 4 ++++
 tools/Makefile.win  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/tools/Makefile.unix b/tools/Makefile.unix
index f71e91a..a668447 100644
--- a/tools/Makefile.unix
+++ b/tools/Makefile.unix
@@ -387,6 +387,7 @@ clean_context:
 			$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" clean_context ; \
 		fi \
 	done
+	$(call DELFILE, include/float.h)
 	$(call DELFILE, include/math.h)
 	$(call DELFILE, include/stdarg.h)
 	$(call DELFILE, include/setjmp.h)
@@ -612,6 +613,7 @@ clean: subdir_clean
 	$(call DELDIR, nuttx-export*)
 	$(call DELFILE, nuttx_user*)
 	$(call DELDIR, staging)
+	$(call DELFILE, uImage)
 	$(call CLEAN)
 
 subdir_distclean:
@@ -629,8 +631,10 @@ endif
 	$(call DELFILE, include/nuttx/version.h)
 	$(call DELFILE, Make.defs)
 	$(call DELFILE, defconfig)
+	$(call DELFILE, defconfig.tmp-e)
 	$(call DELFILE, .config)
 	$(call DELFILE, .config.old)
+	$(call DELFILE, .config-e)
 	$(call DELFILE, .gdbinit)
 	$(Q) $(DIRUNLINK) include/arch/board
 	$(Q) $(DIRUNLINK) include/arch/chip
diff --git a/tools/Makefile.win b/tools/Makefile.win
index 12f6d05..1b98733 100644
--- a/tools/Makefile.win
+++ b/tools/Makefile.win
@@ -399,6 +399,7 @@ clean_context:
 	$(Q) for %%G in ($(CCLEANDIRS)) do ( if exist %%G\Makefile $(MAKE) -C %%G TOPDIR="$(TOPDIR)" clean_context )
 	$(call DELFILE, include\nuttx\config.h)
 	$(call DELFILE, include\nuttx\version.h)
+	$(call DELFILE, include\float.h)
 	$(call DELFILE, include\math.h)
 	$(call DELFILE, include\stdarg.h)
 	$(call DELFILE, include\setjmp.h)
@@ -590,6 +591,7 @@ clean: subdir_clean
 	$(call DELFILE, nuttx_user*)
 	$(call DELFILE, .gdbinit)
 	$(call DELDIR, staging)
+	$(call DELFILE, uImage)
 	$(call CLEAN)
 
 subdir_distclean:
@@ -601,8 +603,10 @@ ifeq ($(CONFIG_BUILD_2PASS),y)
 endif
 	$(call DELFILE, Make.defs)
 	$(call DELFILE, defconfig)
+	$(call DELFILE, defconfig.tmp-e)
 	$(call DELFILE, .config)
 	$(call DELFILE, .config.old)
+	$(call DELFILE, .config-e)
 	$(call DELDIR, include\arch\board)
 	$(call DELDIR, include\arch\chip)
 	$(call DELDIR, include\arch)