tools: Trigger clean_bootloader on distclean for supported chips
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
1b5d6aa068
commit
86518bdf25
3 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue