diff --git a/Makefile b/Makefile index d037261..104d521 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,7 @@ DEFINES += OS_IO_SEPROXYHAL DEFINES += HAVE_SPRINTF HAVE_SNPRINTF_FORMAT_U DEFINES += HAVE_IO_USB HAVE_L4_USBLIB IO_USB_MAX_ENDPOINTS=4 IO_HID_EP_LENGTH=64 HAVE_USB_APDU DEFINES += LEDGER_MAJOR_VERSION=$(APPVERSION_M) LEDGER_MINOR_VERSION=$(APPVERSION_N) LEDGER_PATCH_VERSION=$(APPVERSION_P) +DEFINES += BUILD_YEAR=\"$(shell date +%Y)\" # U2F DEFINES += HAVE_U2F HAVE_IO_U2F diff --git a/src_nbgl/ui_settings.c b/src_nbgl/ui_settings.c index c952140..7981356 100644 --- a/src_nbgl/ui_settings.c +++ b/src_nbgl/ui_settings.c @@ -3,7 +3,7 @@ #include "nbgl_use_case.h" static const char* const infoTypes[] = {"Version", APPNAME " App"}; -static const char* const infoContents[] = {APPVERSION, "(c) 2022 Ledger"}; +static const char* const infoContents[] = {APPVERSION, "(c) " BUILD_YEAR " Ledger"}; enum { BLIND_SIGNING_TOKEN = FIRST_USER_TOKEN,