configs/Board.mk: Add extra clean operations

This commit is contained in:
Gregory Nutt 2016-10-18 09:46:48 -06:00
parent ac97a81fb0
commit 6745690a6f
2 changed files with 8 additions and 2 deletions

View File

@ -127,9 +127,11 @@ depend: .depend
clean:
$(call DELFILE, libboard$(LIBEXT))
$(call CLEAN)
$(EXTRA_CLEAN)
distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
$(EXTRA_DISTCLEAN)
-include Make.dep

View File

@ -37,12 +37,16 @@
SCRIPTDIR = $(TOPDIR)$(DELIM)configs$(DELIM)$(CONFIG_ARCH_BOARD)$(DELIM)scripts
CONFIGFILE = $(TOPDIR)$(DELIM)include$(DELIM)nuttx$(DELIM)config.h
SCRIPTIN = esp32.ld
SCRIPTOUT = esp32_out.ld
ASRCS =
CSRCS =
SCRIPTIN = esp32.ld
SCRIPTOUT = esp32_out.ld
EXTRA_CLEAN =
EXTRA_DISTCLEAN = $(call DELFILE, $(SCRIPTOUT))
include $(TOPDIR)/configs/Board.mk
$(SCRIPTOUT): $(SCRIPTIN) $(CONFIGFILE)