From 86efbcbee77bc0a29af07807080f4804a37f46a3 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:31:45 +0900 Subject: [PATCH] Change the way of definition of SUFFIX When archiving, if the number of files is large, the full path in SUFFIX may exceed the command line limit for Cygwin and other programs. To avoid this, the SUFFIX can be changed in the Makefile in each application or library. --- Application.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application.mk b/Application.mk index 0bac7a6ff..0ebf8002d 100644 --- a/Application.mk +++ b/Application.mk @@ -61,7 +61,7 @@ ifeq ($(BUILD_MODULE),y) LDLIBS += $(COMPILER_RT_LIB) endif -SUFFIX = $(subst $(DELIM),.,$(CWD)) +SUFFIX ?= $(subst $(DELIM),.,$(CWD)) PROGNAME := $(subst ",,$(PROGNAME))