mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
configs: additional verified platforms
With recent proof improvements the proofs now apply to further platforms in the ARM and AARCH64 configurations. Refactor the verified configs to build on one include file per major architecture which is then used for each platform with potentially modified settings. Add path argument to `cmake_script_build_kernel` macro to accommodate inclusion from different locations in the file system. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
@@ -688,7 +688,7 @@ endmacro()
|
||||
# cmake -G Ninja ${args} -C ${CMAKE_ARGV2} ${CMAKE_CURRENT_LIST_DIR}/..
|
||||
# ninja kernel.elf
|
||||
# ninja kernel_all_pp_wrapper
|
||||
macro(cmake_script_build_kernel)
|
||||
macro(cmake_script_build_kernel RELPATH)
|
||||
if(NOT "${CMAKE_ARGC}" STREQUAL "")
|
||||
set(args "")
|
||||
foreach(i RANGE 3 ${CMAKE_ARGC})
|
||||
@@ -702,7 +702,7 @@ macro(cmake_script_build_kernel)
|
||||
endforeach()
|
||||
execute_process(
|
||||
COMMAND
|
||||
cmake -G Ninja ${args} -C ${CMAKE_ARGV2} ${CMAKE_CURRENT_LIST_DIR}/..
|
||||
cmake -G Ninja ${args} -C ${CMAKE_ARGV2} ${CMAKE_CURRENT_LIST_DIR}/${RELPATH}
|
||||
INPUT_FILE /dev/stdin
|
||||
OUTPUT_FILE /dev/stdout
|
||||
ERROR_FILE /dev/stderr
|
||||
|
||||
Reference in New Issue
Block a user