Skip to content

Commit

Permalink
use MCS verified config if available
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Jan 9, 2024
1 parent 436e8c8 commit a88a85c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion standalone-kernel/compile_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@ do_compile_kernel()
MCS)
build_folder="${build_folder}-${variant}"
variant_info=" (${variant})"
extra_params="${extra_params} -DKernelIsMCS=TRUE"
# Use a dedicated config file if available, otherwise just use
# the default config and enable MCS.
try_config_file="configs/${INPUT_ARCH}_MCS_verified.cmake"
if [ -f "${try_config_file}" ]; then
config_file=${try_config_file}
else
extra_params="${extra_params} -DKernelIsMCS=TRUE"
fi
;;
*)
echo "Unknown variant '${variant}'"
Expand Down

0 comments on commit a88a85c

Please sign in to comment.