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:
parent
b9c5f53bce
commit
843b944a31
4 changed files with 8 additions and 0 deletions
|
|
@ -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 "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue