mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
seL4Config.cmake: Add FORCE to KernelSel4Arch
Without FORCE being added to `set` in declare_seL4_arch for KernelSel4Arch, the set command doesn't seem to persist as the variable must be already initialised in some cases. In this part of the script processing, a platform has already been selected and is setting its seL4 arch and so using FORCE seems appropriate anyway.
This commit is contained in:
@@ -25,7 +25,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/../tools/helpers.cmake)
|
||||
# aarch32, aarch64, arm_hyp, riscv32, riscv64, x86_64, ia32
|
||||
# This macro is intended to be called from within a platform config.
|
||||
macro(declare_seL4_arch sel4_arch)
|
||||
set(KernelSel4Arch "${sel4_arch}" CACHE STRING "")
|
||||
set(KernelSel4Arch "${sel4_arch}" CACHE STRING "" FORCE)
|
||||
config_choice(
|
||||
KernelSel4Arch
|
||||
SEL4_ARCH
|
||||
|
||||
Reference in New Issue
Block a user