You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2020/03/21 07:50:19 UTC

[incubator-nuttx-apps] branch master updated: Makefile don't change symtab_apps.c timestamp if no any change

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

masayuki 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 ad552c8  Makefile don't change symtab_apps.c timestamp if no any change
ad552c8 is described below

commit ad552c8c7bf9682ec8e07c469a379ad4faa30f33
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Mar 19 23:28:19 2020 +0800

    Makefile don't change symtab_apps.c timestamp if no any change
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
    Change-Id: I55576aec46bd057bc98cf2b6579d7ac96446ae27
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5956c64..3ba9113 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,8 @@ else
 
 $(SYMTABSRC): $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_all)
 	$(Q) $(MAKE) install TOPDIR="$(TOPDIR)"
-	$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(BINDIR) $(SYMTABSRC)
+	$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(BINDIR) $@.tmp
+	$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)
 
 $(SYMTABOBJ): %$(OBJEXT): %.c
 	$(call COMPILE, -fno-lto $<, $@)