You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/07/25 15:56:12 UTC

[incubator-nuttx-apps] branch master updated: Directory.mk: The subdirectories' clean and distclean targets need to be unique to avoid the "overriding recipe for target" warning.

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new c1d060d  Directory.mk: The subdirectories' clean and distclean targets need to be unique to avoid the "overriding recipe for target"  warning.
c1d060d is described below

commit c1d060dac3dba4e8cbc7ade39ed45b6f5f0017c7
Author: Ouss4 <ab...@gmail.com>
AuthorDate: Sat Jul 25 16:54:27 2020 +0100

    Directory.mk: The subdirectories' clean and distclean targets need to be
    unique to avoid the "overriding recipe for target"  warning.
---
 Directory.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Directory.mk b/Directory.mk
index fae7cb9..6ce0149 100644
--- a/Directory.mk
+++ b/Directory.mk
@@ -42,6 +42,7 @@ CONFIGSUBDIRS := $(filter-out $(dir $(wildcard *$(DELIM)Kconfig)),$(SUBDIRS))
 CLEANSUBDIRS  := $(dir $(wildcard *$(DELIM).built))
 CLEANSUBDIRS  += $(dir $(wildcard *$(DELIM).depend))
 CLEANSUBDIRS  += $(dir $(wildcard *$(DELIM).kconfig))
+CLEANSUBDIRS  := $(sort $(CLEANSUBDIRS))
 
 all: nothing