diff options
| author | Chris Kay <chris.kay@arm.com> | 2024-03-08 16:08:31 +0000 |
|---|---|---|
| committer | Chris Kay <chris.kay@arm.com> | 2024-04-29 12:47:01 +0000 |
| commit | 758ccb802d4f2a5fe55ec936a21ad4ae8cbd7b4f (patch) | |
| tree | 9018f043e8b67f58375cac2ea687d108007d7e7c /bl2 | |
| parent | 93a7a6d0ea8f9918209726c108365c4a4c42ea43 (diff) | |
| download | arm-trusted-firmware-758ccb802d4f2a5fe55ec936a21ad4ae8cbd7b4f.tar.gz arm-trusted-firmware-758ccb802d4f2a5fe55ec936a21ad4ae8cbd7b4f.zip | |
build: remove `MAKE_BUILD_STRINGS` function
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>
Diffstat (limited to 'bl2')
| -rw-r--r-- | bl2/bl2_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c index 923a554fb..4c68f076a 100644 --- a/bl2/bl2_main.c +++ b/bl2/bl2_main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2024, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -11,6 +11,7 @@ #include <bl1/bl1.h> #include <bl2/bl2.h> #include <common/bl_common.h> +#include <common/build_message.h> #include <common/debug.h> #include <drivers/auth/auth_mod.h> #include <drivers/auth/crypto_mod.h> @@ -92,7 +93,7 @@ void bl2_main(void) PMF_CAPTURE_TIMESTAMP(bl_svc, BL2_ENTRY, PMF_CACHE_MAINT); #endif - NOTICE("BL2: %s\n", version_string); + NOTICE("BL2: %s\n", build_version_string); NOTICE("BL2: %s\n", build_message); /* Perform remaining generic architectural setup in S-EL1 */ |
