diff --git a/tools/Makefile.unix b/tools/Makefile.unix index f71e91a248c..a668447d9b3 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 12f6d057045..1b987339b42 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)