arm,cmake: Set compiler expected tls settings

Add the right TLS variable settings for the gnu-elf-abi used by our
compilers.

Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
Kent McLeod 2025-02-28 15:44:46 +11:00 committed by Kent McLeod
parent 3eff84e818
commit 807013aee6
1 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,11 @@ endif()
ApplyCommonReleaseVerificationSettings(${RELEASE} FALSE)
if (KernelSel4ArchAarch32)
# Set correct aarch32 TLS register config
set(KernelArmTLSReg tpidruro CACHE STRING "" FORCE)
endif()
# If an application specific settings file exists then import it here.
# This can be used for applications to configure the kernel in specific ways
include(${CMAKE_CURRENT_LIST_DIR}/apps/${CAMKES_APP}/settings.cmake OPTIONAL)