mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Remove some dependencies of distclean on clean. This should not be necessary in higher level makefiles and should speed up make distclean
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5453 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -435,3 +435,8 @@
|
|||||||
logic to find the absolute path to the program using the PATH variable.
|
logic to find the absolute path to the program using the PATH variable.
|
||||||
|
|
||||||
6.25 2013-xx-xx Gregory Nutt <gnutt@nuttx.org>
|
6.25 2013-xx-xx Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
|
||||||
|
* Makefiles: Removed dependency of distclean on clean in most top-level
|
||||||
|
files. It makes sense for 'leaf' Makefiles to have this dependency,
|
||||||
|
but it does not make sense for upper-level Makefiles.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -177,7 +177,7 @@ endif
|
|||||||
$(call DELFILE, $(BIN))
|
$(call DELFILE, $(BIN))
|
||||||
$(call CLEAN)
|
$(call CLEAN)
|
||||||
|
|
||||||
distclean: # clean
|
distclean:
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
$(Q) for %%G in ($(SUBDIRS)) do ( \
|
$(Q) for %%G in ($(SUBDIRS)) do ( \
|
||||||
$(MAKE) -C %%G distclean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" \
|
$(MAKE) -C %%G distclean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" \
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend)
|
|||||||
|
|
||||||
clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean)
|
clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean)
|
||||||
|
|
||||||
distclean: clean $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean)
|
distclean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean)
|
||||||
|
|
||||||
-include Make.dep
|
-include Make.dep
|
||||||
|
|
||||||
|
|||||||
@@ -73,4 +73,4 @@ depend: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_depend)
|
|||||||
|
|
||||||
clean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_clean)
|
clean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_clean)
|
||||||
|
|
||||||
distclean: clean $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_distclean)
|
distclean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_distclean)
|
||||||
|
|||||||
@@ -64,4 +64,4 @@ depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend)
|
|||||||
|
|
||||||
clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean)
|
clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean)
|
||||||
|
|
||||||
distclean: clean $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean)
|
distclean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean)
|
||||||
|
|||||||
@@ -73,4 +73,4 @@ depend: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_depend)
|
|||||||
|
|
||||||
clean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_clean)
|
clean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_clean)
|
||||||
|
|
||||||
distclean: clean $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_distclean)
|
distclean: $(foreach SDIR, $(INSTALLED_DIRS), $(SDIR)_distclean)
|
||||||
|
|||||||
Reference in New Issue
Block a user