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:
Xiang Xiao 2021-03-28 17:19:22 +08:00 committed by Abdelatif Guettouche
parent ddbef2b5a9
commit 7e983490e8

View File

@ -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)),)