2021-04-28 20:30:34 +02:00
|
|
|
/*
|
|
|
|
* CloverVersion.cpp
|
|
|
|
*
|
|
|
|
* Created on: Apr 26, 2021
|
|
|
|
* Author: jief
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "CloverVersion.h"
|
2023-11-05 18:56:53 +01:00
|
|
|
#include "../../Version.h"
|
2023-05-30 23:17:19 +02:00
|
|
|
|
2021-04-28 20:30:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef FIRMWARE_REVISION
|
|
|
|
CONST CHAR16 *gFirmwareRevision = FIRMWARE_REVISION;
|
|
|
|
CONST CHAR8* gRevisionStr = REVISION_STR;
|
|
|
|
CONST CHAR8* gFirmwareBuildDate = FIRMWARE_BUILDDATE;
|
|
|
|
CONST CHAR8* gBuildInfo = BUILDINFOS_STR;
|
|
|
|
#else
|
|
|
|
CONST CHAR16 *gFirmwareRevision = L"unknown";
|
|
|
|
CONST CHAR8* gRevisionStr = "unknown";
|
|
|
|
CONST CHAR8* gFirmwareBuildDate = "unknown";
|
|
|
|
CONST CHAR8* gBuildInfo = NULL;
|
|
|
|
#endif
|
|
|
|
#ifdef BUILD_ID
|
|
|
|
const LString8 gBuildId __attribute__((used)) = LString8(BUILD_ID);
|
|
|
|
const LString8 gBuildIdGrepTag __attribute__((used)) = "CloverBuildIdGrepTag: " BUILD_ID;
|
|
|
|
#else
|
|
|
|
const LString8 gBuildId __attribute__((used)) = "unknown";
|
|
|
|
const LString8 gBuildIdGrepTag __attribute__((used)) = "CloverBuildIdGrepTag: " "unknown";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// __attribute__((used)) seems to not always work. So, in AboutRefit(), there is a trick to let the compiler thinks it's used.
|
|
|
|
const LString8 path_independant __attribute__((used)) = "path_independant";
|
|
|
|
|