tools: Trigger clean_bootloader on distclean for supported chips

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-09-24 07:25:17 -03:00 committed by Xiang Xiao
parent 1b5d6aa068
commit 86518bdf25
3 changed files with 10 additions and 0 deletions

View file

@ -348,6 +348,10 @@ config ARCH_HAVE_BACKTRACE
bool
default n
config ARCH_HAVE_BOOTLOADER
bool
default n
config ARCH_FPU
bool "FPU support"
default y

View file

@ -591,6 +591,9 @@ subdir_distclean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_distclean)
distclean: clean subdir_distclean
ifeq ($(CONFIG_BUILD_2PASS),y)
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
endif
ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
$(Q) $(MAKE) clean_bootloader
endif
$(Q) $(MAKE) clean_context
$(call DELFILE, Make.defs)

View file

@ -540,6 +540,9 @@ subdir_distclean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_distclean)
distclean: clean subdir_distclean
ifeq ($(CONFIG_BUILD_2PASS),y)
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
endif
ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
$(Q) $(MAKE) clean_bootloader
endif
$(Q) $(MAKE) clean_context
$(call DELFILE, Make.defs)