arm-trusted-firmware/tools
Yann Gautier 7640df6f1e fix(encrypt-fw): put build_msg under LOG_LEVEL flag
In tools directory, contrary to other parts of TF-A code,
LOG_LEVEL_NOTICE is 20, and LOG_LEVEL_ERROR is 10. If LOG_LEVEL is
set to 10, which is the case if BUILD_INFO=0, then we can have this
compilation warning:
src/main.c:29:19: warning: ‘build_msg’ defined but not used
 [-Wunused-const-variable=]
   29 | static const char build_msg[] = "Built : " __TIME__ ",
 " __DATE__;
      |                   ^~~~~~~~~

Avoid that by putting it under '#if LOG_LEVEL >= LOG_LEVEL_NOTICE'.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Ic724610d6df811fc889775dbd361087e0958d31e
2024-12-11 15:59:22 +01:00
..
amlogic build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
cert_create fix(cert-create): load openSSL configuration before PKCS11 operations 2024-11-15 16:00:07 +02:00
conventional-changelog-tf-a docs(changelog): changelog for v2.12 release 2024-11-19 18:08:58 -06:00
cot_dt2c fix(cot-dt2c): fix various breakages 2024-08-28 09:56:59 +00:00
encrypt_fw fix(encrypt-fw): put build_msg under LOG_LEVEL flag 2024-12-11 15:59:22 +01:00
fiptool build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
marvell/doimage build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
memory feat(memmap): add RELA section display 2024-01-18 14:02:18 +01:00
nxp build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
renesas fix(rcar-layout): fix tool build 2024-11-10 16:09:18 +01:00
sptool build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
stm32image build: determine toolchain tools dynamically 2024-09-10 09:47:06 +00:00
tlc feat(tlc): add command gen-header 2024-09-19 13:44:23 +00:00