From 7e983490e85be0d38ef6a22ef7d573aac7e49816 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 28 Mar 2021 17:19:22 +0800 Subject: [PATCH] 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 --- Application.mk | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Application.mk b/Application.mk index d1dba9858..a64754f77 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)),)