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: clean:
$(call DELFILE, libboard$(LIBEXT)) $(call DELFILE, libboard$(LIBEXT))
$(call CLEAN) $(call CLEAN)
$(EXTRA_CLEAN)
distclean: clean distclean: clean
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend) $(call DELFILE, .depend)
$(EXTRA_DISTCLEAN)
-include Make.dep -include Make.dep

View File

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