arch/: Clean what was made during context in distclean.

Cleaning during `clean_context` had the issue of remaking everything
when `menuconfig` was issued.  That's because `menuconfig` has a
`clean_context` on its way.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-07-21 18:48:05 +02:00
committed by Alan Carvalho de Assis
parent af1dceb3e3
commit e85b119363
24 changed files with 36 additions and 72 deletions
+2 -4
View File
@@ -19,7 +19,7 @@
############################################################################
include $(TOPDIR)/Make.defs
-include chip/Make.defs
include chip/Make.defs
ifeq ($(CONFIG_ARCH_MOR1KX),y) # OpenRISC mor1kx
ARCH_SUBDIR = mor1kx
@@ -181,8 +181,6 @@ depend: .depend
context::
clean_context::
clean:
ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board clean
@@ -191,7 +189,7 @@ endif
$(call DELFILE, $(BIN))
$(call CLEAN)
distclean: clean
distclean:: clean
ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board distclean
endif