Remove the residual files in the distclean action

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-04-26 01:08:13 +08:00 committed by Brennan Ashton
parent ea58adb371
commit ee9daea586
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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)