Skip to content

Commit 7e98349

Browse files
xiaoxiang781216Ouss4
authored andcommitted
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 <[email protected]>
1 parent ddbef2b commit 7e98349

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Application.mk

-12
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,7 @@ endif # BUILD_MODULE
199199

200200
context::
201201

202-
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
203202
ifneq ($(PROGNAME),)
204-
ifneq ($(PRIORITY),)
205-
ifneq ($(STACKSIZE),)
206203

207204
REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix .bdat,$(PROGNAME)))
208205
APPLIST := $(PROGNAME)
@@ -217,15 +214,6 @@ register:: $(REGLIST)
217214
else
218215
register::
219216
endif
220-
else
221-
register::
222-
endif
223-
else
224-
register::
225-
endif
226-
else
227-
register::
228-
endif
229217

230218
.depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG)
231219
ifeq ($(filter %$(CXXEXT),$(SRCS)),)

0 commit comments

Comments
 (0)