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
@ -348,6 +348,10 @@ config ARCH_HAVE_BACKTRACE
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ARCH_HAVE_BOOTLOADER
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config ARCH_FPU
|
config ARCH_FPU
|
||||||
bool "FPU support"
|
bool "FPU support"
|
||||||
default y
|
default y
|
||||||
|
@ -591,6 +591,9 @@ subdir_distclean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_distclean)
|
|||||||
distclean: clean subdir_distclean
|
distclean: clean subdir_distclean
|
||||||
ifeq ($(CONFIG_BUILD_2PASS),y)
|
ifeq ($(CONFIG_BUILD_2PASS),y)
|
||||||
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
|
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
|
||||||
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
|
||||||
|
$(Q) $(MAKE) clean_bootloader
|
||||||
endif
|
endif
|
||||||
$(Q) $(MAKE) clean_context
|
$(Q) $(MAKE) clean_context
|
||||||
$(call DELFILE, Make.defs)
|
$(call DELFILE, Make.defs)
|
||||||
|
@ -540,6 +540,9 @@ subdir_distclean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_distclean)
|
|||||||
distclean: clean subdir_distclean
|
distclean: clean subdir_distclean
|
||||||
ifeq ($(CONFIG_BUILD_2PASS),y)
|
ifeq ($(CONFIG_BUILD_2PASS),y)
|
||||||
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
|
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) distclean
|
||||||
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
|
||||||
|
$(Q) $(MAKE) clean_bootloader
|
||||||
endif
|
endif
|
||||||
$(Q) $(MAKE) clean_context
|
$(Q) $(MAKE) clean_context
|
||||||
$(call DELFILE, Make.defs)
|
$(call DELFILE, Make.defs)
|
||||||
|
Loading…
Reference in New Issue
Block a user