arm-trusted-firmware/docs/getting_started
Boyan Karatotev 0d1229473e refactor(cm): make SVE and SME build dependencies logical
Currently, enabling SME forces SVE off. However, the SME enablement
requires SVE to be enabled, which is reflected in code. This is the
opposite of what the build flags require.

Further, the few platforms that enable SME also explicitly enable SVE.
Their platform.mk runs after the defaults.mk file so this override never
materializes. As a result, the override is only present on the
commandline.

Change it to something sensible where if SME is on then code can rely on
SVE being on too. Do this with a check in the Makefile as it is the more
widely used pattern. This maintains all valid use cases but subtly
changes corner cases no one uses at the moment to require a slightly
different combination of flags.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: If7ca3972ebc3c321e554533d7bc81af49c2472be
2023-05-05 13:16:18 +01:00
..
build-internals.rst build: restrict usage of CTX_INCLUDE_EL2_REGS 2022-12-01 12:04:40 +02:00
build-options.rst refactor(cm): make SVE and SME build dependencies logical 2023-05-05 13:16:18 +01:00
docs-build.rst docs: patch Poetry build instructions 2023-04-25 16:18:10 +01:00
image-terminology.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00
index.rst docs(porting): move porting guide upper in table of contents 2023-04-11 10:11:04 +02:00
initial-build.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00
prerequisites.rst docs: patch Poetry build instructions 2023-04-25 16:18:10 +01:00
psci-lib-integration-guide.rst docs: document do_panic() and panic() helper functions 2022-11-08 14:09:33 +00:00
rt-svc-writers-guide.rst docs(rme): add description of TF-A changes for RME 2021-11-15 22:20:07 +01:00
tools-build.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00