configs/Board.mk: Add extra clean operations
This commit is contained in:
parent
ac97a81fb0
commit
6745690a6f
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user