You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/09/27 14:20:49 UTC
[incubator-nuttx] branch master updated: [WIP] do DIRUNLINK in
clean_context instead of in disctclean
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 8685dcb [WIP] do DIRUNLINK in clean_context instead of in disctclean
8685dcb is described below
commit 8685dcbfc5949b490ec90f269506c70dc3bc2516
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Sun Sep 27 16:58:14 2020 +0800
[WIP] do DIRUNLINK in clean_context instead of in disctclean
Signed-off-by: liuhaitao <li...@xiaomi.com>
---
tools/Makefile.unix | 14 +++++++-------
tools/Makefile.win | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/tools/Makefile.unix b/tools/Makefile.unix
index 2744485..cdde943 100644
--- a/tools/Makefile.unix
+++ b/tools/Makefile.unix
@@ -355,6 +355,13 @@ clean_context:
$(call DELFILE, include/math.h)
$(call DELFILE, include/stdarg.h)
$(call DELFILE, include/setjmp.h)
+ $(Q) $(DIRUNLINK) include/arch/board
+ $(Q) $(DIRUNLINK) include/arch/chip
+ $(Q) $(DIRUNLINK) include/arch
+ $(Q) $(DIRUNLINK) $(ARCH_SRC)/board/board
+ $(Q) $(DIRUNLINK) $(ARCH_SRC)/board
+ $(Q) $(DIRUNLINK) $(ARCH_SRC)/chip
+ $(Q) $(DIRUNLINK) $(TOPDIR)/drivers/platform
.clean_context: .config
+$(Q) $(MAKE) clean_context
@@ -562,13 +569,6 @@ endif
$(call DELFILE, .config-e)
$(call DELFILE, .gdbinit)
$(call DELFILE, .clean_context)
- $(Q) $(DIRUNLINK) include/arch/board
- $(Q) $(DIRUNLINK) include/arch/chip
- $(Q) $(DIRUNLINK) include/arch
- $(Q) $(DIRUNLINK) $(ARCH_SRC)/board/board
- $(Q) $(DIRUNLINK) $(ARCH_SRC)/board
- $(Q) $(DIRUNLINK) $(ARCH_SRC)/chip
- $(Q) $(DIRUNLINK) $(TOPDIR)/drivers/platform
$(Q) $(MAKE) -C tools -f Makefile.host clean
# Application housekeeping targets. The APPDIR variable refers to the user
diff --git a/tools/Makefile.win b/tools/Makefile.win
index bde2f73..df9d909 100644
--- a/tools/Makefile.win
+++ b/tools/Makefile.win
@@ -328,6 +328,13 @@ clean_context:
$(call DELFILE, include\math.h)
$(call DELFILE, include\stdarg.h)
$(call DELFILE, include\setjmp.h)
+ $(call DIRUNLINK, include\arch\board)
+ $(call DIRUNLINK, include\arch\chip)
+ $(call DIRUNLINK, include\arch)
+ $(call DIRUNLINK, $(ARCH_SRC)\board\board)
+ $(call DIRUNLINK, $(ARCH_SRC)\board)
+ $(call DIRUNLINK, $(ARCH_SRC)\chip)
+ $(call DIRUNLINK, $(TOPDIR)\drivers\platform)
.clean_context: .config
+$(Q) $(MAKE) clean_context
@@ -511,13 +518,6 @@ endif
$(call DELFILE, .config.old)
$(call DELFILE, .config-e)
$(call DELFILE, .clean_context)
- $(call DIRUNLINK, include\arch\board)
- $(call DIRUNLINK, include\arch\chip)
- $(call DIRUNLINK, include\arch)
- $(call DIRUNLINK, $(ARCH_SRC)\board\board)
- $(call DIRUNLINK, $(ARCH_SRC)\board)
- $(call DIRUNLINK, $(ARCH_SRC)\chip)
- $(call DIRUNLINK, $(TOPDIR)\drivers\platform)
$(Q) $(MAKE) -C tools -f Makefile.host clean
# Application housekeeping targets. The APPDIR variable refers to the user