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 <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
ddbef2b5a9
commit
7e983490e8
@ -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)),)
|
||||
|
Loading…
Reference in New Issue
Block a user