arm-trusted-firmware/make_helpers
Boyan Karatotev e444763d65 refactor(cpus): shorten errata flag defines
The cpu-ops makefile has errata flag definition and flag processing done
per flag in separate parts in the file. Rework this to make a list and
do this in a much more concise way.

To ensure no flags were missed, a bash script [1] was used to verify all
errata flags made it across. Only the first few flags with different
naming were checked manually.

[1]:
sed -n "s/CPU_FLAG_LIST += ERRATA_\(.*\)/\1/p" lib/cpus/cpu-ops.mk > \
	/tmp/new
git checkout origin/master
sed -n "s/ERRATA_\([[:alnum:]_-]*\)\s*?=0/\1/p" lib/cpus/cpu-ops.mk > \
	/tmp/old
diff /tmp/old /tmp/new

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I3b88af46838cc26f42d2c66b31f96c0855fa406c
2023-03-16 11:04:47 +00:00
..
tbbr build(tbbr): drive cert_create changes for cca CoT 2022-06-14 09:47:37 -05:00
arch_features.mk refactor(el3-runtime): add arch-features detection mechanism 2022-04-04 10:24:51 +01:00
armv7-a-cpus.mk build_macros.mk: include assert and define loop macros 2020-09-14 09:27:53 -05:00
build_env.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
build_macros.mk refactor(cpus): shorten errata flag defines 2023-03-16 11:04:47 +00:00
cygwin.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
defaults.mk build: restrict usage of CTX_INCLUDE_EL2_REGS 2022-12-01 12:04:40 +02:00
msys.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_helpers.mk Change PLATFORM_ROOT to TF_PLATFORM_ROOT 2018-03-05 14:18:04 +08:00
unix.mk Makefile: Fix verbose builds on Windows 2018-10-19 15:54:27 +01:00
windows.mk build: fix syntax error in semantic ver generation 2022-08-23 16:51:13 +01:00