mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
configs: Use only BV-compatible optimisations
For verified configurations on which we perform binary verification, ensure that we disable certain whole-program optimisations that are incompatible with binary verification. Signed-off-by: Matthew Brecknell <matt@kry10.com>
This commit is contained in:
committed by
Matthew Brecknell
parent
b9c5f53bce
commit
843b944a31
@@ -11,6 +11,8 @@ cmake_script_build_kernel()
|
||||
|
||||
set(KernelPlatform "imx6" CACHE STRING "")
|
||||
set(KernelVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelBinaryVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelOptimisationCloneFunctions OFF CACHE BOOL "")
|
||||
set(KernelIPCBufferLocation "threadID_register" CACHE STRING "")
|
||||
set(KernelMaxNumNodes "1" CACHE STRING "")
|
||||
set(KernelOptimisation "-O2" CACHE STRING "")
|
||||
|
||||
@@ -11,6 +11,8 @@ cmake_script_build_kernel()
|
||||
|
||||
set(KernelPlatform "imx6" CACHE STRING "")
|
||||
set(KernelVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelBinaryVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelOptimisationCloneFunctions OFF CACHE BOOL "")
|
||||
set(KernelIPCBufferLocation "threadID_register" CACHE STRING "")
|
||||
set(KernelMaxNumNodes "1" CACHE STRING "")
|
||||
set(KernelOptimisation "-O2" CACHE STRING "")
|
||||
|
||||
@@ -13,6 +13,8 @@ set(KernelSel4Arch "riscv64" CACHE STRING "")
|
||||
set(KernelPlatform "hifive" CACHE STRING "")
|
||||
set(KernelPTLevels "3" CACHE STRING "")
|
||||
set(KernelVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelBinaryVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelOptimisationCloneFunctions OFF CACHE BOOL "")
|
||||
set(KernelMaxNumNodes "1" CACHE STRING "")
|
||||
set(KernelOptimisation "-O2" CACHE STRING "")
|
||||
set(KernelRetypeFanOutLimit "256" CACHE STRING "")
|
||||
|
||||
@@ -13,6 +13,8 @@ set(KernelSel4Arch "riscv64" CACHE STRING "")
|
||||
set(KernelPlatform "hifive" CACHE STRING "")
|
||||
set(KernelPTLevels "3" CACHE STRING "")
|
||||
set(KernelVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelBinaryVerificationBuild ON CACHE BOOL "")
|
||||
set(KernelOptimisationCloneFunctions OFF CACHE BOOL "")
|
||||
set(KernelMaxNumNodes "1" CACHE STRING "")
|
||||
set(KernelOptimisation "-O2" CACHE STRING "")
|
||||
set(KernelRetypeFanOutLimit "256" CACHE STRING "")
|
||||
|
||||
Reference in New Issue
Block a user