cspec: adjust Kernel_Config generation (#590)
seL4/seL4#975 slightly changed how the config headers are generated. They now need a (short) `ninja` build step and they produce less spaces in the header file. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
parent
244e7d464f
commit
eaf735c38f
|
@ -193,7 +193,7 @@ def parse_gen_config(gen_config_file: str) -> Dict[str, str]:
|
|||
"""
|
||||
Parse gen_config.h and return a dictionary of the values.
|
||||
"""
|
||||
end_comment_re = re.compile(r' /\*.*\*/')
|
||||
end_comment_re = re.compile(r'/\*.*\*/')
|
||||
|
||||
config = {}
|
||||
with open(gen_config_file, 'r') as f:
|
||||
|
|
|
@ -128,4 +128,5 @@ ${KERNEL_CONFIG_ROOT}/.cmake_done: ${KERNEL_DEPS} gen-config-thy.py
|
|||
-DCMAKE_TOOLCHAIN_FILE=${CSPEC_DIR}/c/no-compiler.cmake \
|
||||
${KERNEL_CMAKE_EXTRA_OPTIONS} \
|
||||
-G Ninja ${SOURCE_ROOT}
|
||||
cd ${KERNEL_CONFIG_ROOT} && ninja gen_config/kernel/gen_config.json
|
||||
touch ${KERNEL_CONFIG_ROOT}/.cmake_done
|
||||
|
|
Loading…
Reference in New Issue