From 5f7f084d93b9ca2182c3677875f5600b4da3f17c Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Thu, 31 Aug 2023 16:45:42 +0200 Subject: [PATCH] Fix APPNAME handling in standard app Makefile --- Makefile.standard_app | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.standard_app b/Makefile.standard_app index 018b218ca..c6991874d 100644 --- a/Makefile.standard_app +++ b/Makefile.standard_app @@ -75,7 +75,8 @@ endif # STANDARD DEFINES # ##################################################################### DEFINES += $(DEFINES_LIB) -DEFINES += APPNAME=\"$(APPNAME)\" +# Added directly as a CFLAG because it might contain spaces +CFLAGS += -DAPPNAME=\"$(APPNAME)\" DEFINES += APPVERSION=\"$(APPVERSION)\" DEFINES += MAJOR_VERSION=$(APPVERSION_M) MINOR_VERSION=$(APPVERSION_N) PATCH_VERSION=$(APPVERSION_P) DEFINES += IO_HID_EP_LENGTH=64