tools/Makefile*: Clean tools binaries at the end of distclean.
This commit is contained in:
parent
8190041472
commit
e018309e47
@ -285,10 +285,10 @@ clean:
|
|||||||
$(call DELFILE, nxstyle.exe)
|
$(call DELFILE, nxstyle.exe)
|
||||||
$(call DELFILE, rmcr)
|
$(call DELFILE, rmcr)
|
||||||
$(call DELFILE, rmcr.exe)
|
$(call DELFILE, rmcr.exe)
|
||||||
$(call DELFILE, incdir)
|
|
||||||
$(call DELFILE, incdir.exe)
|
|
||||||
ifneq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifneq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
$(Q) rm -rf *.dSYM
|
$(Q) rm -rf *.dSYM
|
||||||
endif
|
endif
|
||||||
$(Q) $(MAKE) -C pic32 -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
$(Q) $(MAKE) -C pic32 -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
||||||
|
$(call DELFILE, incdir)
|
||||||
|
$(call DELFILE, incdir.exe)
|
||||||
$(call CLEAN)
|
$(call CLEAN)
|
||||||
|
@ -523,7 +523,6 @@ depend: pass1dep pass2dep
|
|||||||
$(foreach SDIR, $(CLEANDIRS), $(eval $(call SDIR_template,$(SDIR),clean)))
|
$(foreach SDIR, $(CLEANDIRS), $(eval $(call SDIR_template,$(SDIR),clean)))
|
||||||
|
|
||||||
subdir_clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean)
|
subdir_clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean)
|
||||||
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
|
||||||
ifeq ($(CONFIG_BUILD_2PASS),y)
|
ifeq ($(CONFIG_BUILD_2PASS),y)
|
||||||
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) TOPDIR="$(TOPDIR)" clean
|
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) TOPDIR="$(TOPDIR)" clean
|
||||||
endif
|
endif
|
||||||
@ -563,6 +562,7 @@ endif
|
|||||||
$(Q) $(DIRUNLINK) $(ARCH_SRC)/board
|
$(Q) $(DIRUNLINK) $(ARCH_SRC)/board
|
||||||
$(Q) $(DIRUNLINK) $(ARCH_SRC)/chip
|
$(Q) $(DIRUNLINK) $(ARCH_SRC)/chip
|
||||||
$(Q) $(DIRUNLINK) $(TOPDIR)/drivers/platform
|
$(Q) $(DIRUNLINK) $(TOPDIR)/drivers/platform
|
||||||
|
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
||||||
|
|
||||||
# Application housekeeping targets. The APPDIR variable refers to the user
|
# Application housekeeping targets. The APPDIR variable refers to the user
|
||||||
# application directory. A sample apps/ directory is included with NuttX,
|
# application directory. A sample apps/ directory is included with NuttX,
|
||||||
|
@ -479,7 +479,6 @@ depend: pass1dep pass2dep
|
|||||||
$(foreach SDIR, $(CLEANDIRS), $(eval $(call SDIR_template,$(SDIR),clean)))
|
$(foreach SDIR, $(CLEANDIRS), $(eval $(call SDIR_template,$(SDIR),clean)))
|
||||||
|
|
||||||
subdir_clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean)
|
subdir_clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean)
|
||||||
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
|
||||||
ifeq ($(CONFIG_BUILD_2PASS),y)
|
ifeq ($(CONFIG_BUILD_2PASS),y)
|
||||||
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) TOPDIR="$(TOPDIR)" clean
|
$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) TOPDIR="$(TOPDIR)" clean
|
||||||
endif
|
endif
|
||||||
@ -518,6 +517,7 @@ endif
|
|||||||
$(call DIRUNLINK, $(ARCH_SRC)\board)
|
$(call DIRUNLINK, $(ARCH_SRC)\board)
|
||||||
$(call DIRUNLINK, $(ARCH_SRC)\chip)
|
$(call DIRUNLINK, $(ARCH_SRC)\chip)
|
||||||
$(call DIRUNLINK, $(TOPDIR)\drivers\platform)
|
$(call DIRUNLINK, $(TOPDIR)\drivers\platform)
|
||||||
|
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" clean
|
||||||
|
|
||||||
# Application housekeeping targets. The APPDIR variable refers to the user
|
# Application housekeeping targets. The APPDIR variable refers to the user
|
||||||
# application directory. A sample apps\ directory is included with NuttX,
|
# application directory. A sample apps\ directory is included with NuttX,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user