build: Remove the redundant check from Applicaiton.mk
it's better to report error if user forget set PRIORITY or STACKSIZE
@@ -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)),)
