You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/04/06 07:26:28 UTC

[incubator-nuttx-apps] branch master updated: build: Remove the redundant check from Applicaiton.mk

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

aguettouche 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 7e98349  build: Remove the redundant check from Applicaiton.mk
7e98349 is described below

commit 7e983490e85be0d38ef6a22ef7d573aac7e49816
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Mar 28 17:19:22 2021 +0800

    build: Remove the redundant check from Applicaiton.mk
    
    it's better to report error if user forget set PRIORITY or STACKSIZE
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 Application.mk | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/Application.mk b/Application.mk
index d1dba98..a64754f 100644
--- a/Application.mk
+++ b/Application.mk
@@ -199,10 +199,7 @@ endif # BUILD_MODULE
 
 context::
 
-ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
 ifneq ($(PROGNAME),)
-ifneq ($(PRIORITY),)
-ifneq ($(STACKSIZE),)
 
 REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix .bdat,$(PROGNAME)))
 APPLIST := $(PROGNAME)
@@ -217,15 +214,6 @@ register:: $(REGLIST)
 else
 register::
 endif
-else
-register::
-endif
-else
-register::
-endif
-else
-register::
-endif
 
 .depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG)
 ifeq ($(filter %$(CXXEXT),$(SRCS)),)