Skip to content
Commit 774c7caa authored by Kshitij Sisodia's avatar Kshitij Sisodia
Browse files

MLECO-4935: Refactoring user options



Refactoring for CMake configuration options to allow target platform
to drive their own defaults for certain dependent options.

For example, the MPS3 target platform defaults to SSE-300 sub-system
while native target doesn't need to worry about sub-system and CMSIS
options which it will never use. This allows MPS4 target to default
to SSE-315 and set the NPU arch to Arm Ethos-U65 as it should, which
otherwise would have had to be explictly specified by the user.

A welcome by-product of this is also that the options summary at the
end of a successful CMake configuration stage would only include the
settings that are actually used by the given target.

Change-Id: Ibb7f8233d427cd33f39eeb4c71d88193aa998ebd
Signed-off-by: Kshitij Sisodia's avatarKshitij Sisodia <kshitij.sisodia@arm.com>
Tested-by: default avatarmlecosys <mlecosys@arm.com>
Reviewed-by: Alex Tawse's avatarAlex Tawse <alex.tawse@arm.com>
Reviewed-by: Conor Kennedy's avatarConor Kennedy <conor.kennedy@arm.com>
Signed-off-by: Kshitij Sisodia's avatarKshitij Sisodia <kshitij.sisodia@arm.com>
parent 4cef9acc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment