From 6761122be03a65e8b013b5dd902bbea3a87d09e3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 24 Jan 2022 01:16:58 -0500 Subject: [PATCH] * Basic.mk.template: Allow arguments to the check target. --- Basic.mk.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Basic.mk.template b/Basic.mk.template index 152163dd..f6e677f5 100644 --- a/Basic.mk.template +++ b/Basic.mk.template @@ -88,8 +88,9 @@ COMPILE.cmd = $(CC) $(extra_CFLAGS) $(CFLAGS) $(extra_CPPFLAGS) $(CPPFLAGS) $(TA # $(call LINK.cmd,) LINK.cmd = $(LD) $(extra_LDFLAGS) $(LDFLAGS) $(TARGET_ARCH) $1 $(LDLIBS) $(LINK_OUTPUT) -# $(CHECK.cmd) +# $(CHECK.cmd) $(CHECK.args) CHECK.cmd = cd $(SRCDIR)/tests && ./run_make_tests -make $(shell cd $() MKDIR.cmd = mkdir -p $1 @@ -123,7 +124,7 @@ $(OBJDIRS): $(call MKDIR.cmd,$@) check: - $(CHECK.cmd) + $(CHECK.cmd) $(CHECK.args) clean: $(CLEANSPACE)