From a3bbea86ff5c78a7a73e6c39c23d496eae87e548 Mon Sep 17 00:00:00 2001 From: xuxin19 Date: Mon, 9 Oct 2023 19:48:05 +0800 Subject: [PATCH] remove the check that progname matches mainsrc Signed-off-by: xuxin19 --- Application.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/Application.mk b/Application.mk index 872fe11d978..269ceaa6b7a 100644 --- a/Application.mk +++ b/Application.mk @@ -95,9 +95,6 @@ endif ifneq ($(strip $(PROGNAME)),) PROGOBJ := $(MAINCOBJ) $(MAINCXXOBJ) $(MAINRUSTOBJ) - ifneq ($(words $(PROGOBJ)), $(words $(PROGNAME))) - $(error "program names $(PROGNAME) does not match mainsrcs $(PROGOBJ)") - endif PROGLIST := $(addprefix $(BINDIR)$(DELIM),$(PROGNAME)) REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix .bdat,$(PROGNAME)))