Browse Source
This function causes the build message to be generated and compiled in two different ways, with one way done inside `build_macros.mk` and the other done inside `windows.mk`, mostly because it's done by generating the C file on the command line. We can instead replace this whole build message generation sequence with a simple standard C compilation command and a normal C file. Change-Id: I8bc136380c9585ddeec9a11154ee39ef70526f81 Signed-off-by: Chris Kay <chris.kay@arm.com>pull/2000/merge
Chris Kay
8 months ago
17 changed files with 59 additions and 56 deletions
@ -0,0 +1,14 @@ |
|||
/*
|
|||
* Copyright (c) 2024, Arm Limited. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef BUILD_MESSAGE_H |
|||
#define BUILD_MESSAGE_H |
|||
|
|||
static const char build_message[] = "Built : " BUILD_MESSAGE_TIMESTAMP; |
|||
static const char build_version_string[] = BUILD_MESSAGE_VERSION_STRING; |
|||
static const char build_version[] = BUILD_MESSAGE_VERSION; |
|||
|
|||
#endif /* BUILD_MESSAGE_H */ |
Loading…
Reference in new issue