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/01/02 16:48:05 UTC

[incubator-nuttx-apps] branch master updated: Application.mk remove _main suffix from REGLIST

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-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a65664  Application.mk remove _main suffix from REGLIST
     new f00b4e6  Merge pull request #4 from xiaoxiang781216/fix-suffix
6a65664 is described below

commit 6a65664ce44d45af893d6af6b3f7a883a8b14e6a
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Jan 2 18:27:47 2020 +0800

    Application.mk remove _main suffix from REGLIST
    
    since the file generated by REGISTER macro don't have such suffix
    
    Change-Id: I6814f5bd257563f897c63d9698f8892d9649dcef
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 Application.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Application.mk b/Application.mk
index 6aaa71a..38e310e 100644
--- a/Application.mk
+++ b/Application.mk
@@ -184,7 +184,7 @@ ifneq ($(PROGNAME),)
 ifneq ($(PRIORITY),)
 ifneq ($(STACKSIZE),)
 
-REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix _main.bdat,$(PROGNAME)))
+REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix .bdat,$(PROGNAME)))
 APPLIST := $(PROGNAME)
 
 $(REGLIST): $(DEPCONFIG) Makefile