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