1#!/usr/bin/env -S cmake -P
2#
3# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
7
8# If this file is executed then build the kernel.elf and kernel_all_pp.c file
9include(${CMAKE_CURRENT_LIST_DIR}/../tools/helpers.cmake)
10cmake_script_build_kernel()
11
12set(KernelSel4Arch "riscv64" CACHE STRING "")
13set(KernelPlatform "hifive" CACHE STRING "")
14set(KernelPTLevels "3" CACHE STRING "")
15set(KernelVerificationBuild ON CACHE BOOL "")
16set(KernelMaxNumNodes "1" CACHE STRING "")
17set(KernelOptimisation "-O2" CACHE STRING "")
18set(KernelRetypeFanOutLimit "256" CACHE STRING "")
19set(KernelBenchmarks "none" CACHE STRING "")
20set(KernelDangerousCodeInjection OFF CACHE BOOL "")
21set(KernelFastpath ON CACHE BOOL "")
22set(KernelPrinting OFF CACHE BOOL "")
23set(KernelNumDomains 16 CACHE STRING "")
24set(KernelMaxNumBootinfoUntypedCap 166 CACHE STRING "")
25set(KernelRootCNodeSizeBits 19 CACHE STRING "")
26set(KernelMaxNumBootinfoUntypedCaps 50 CACHE STRING "")
27set(KernelIsMCS ON CACHE BOOL "")
28set(KernelStaticMaxPeriodUs "(60 * 60 * MS_IN_S * US_IN_MS)" CACHE STRING "")
29set(KernelClzNoBuiltin ON CACHE BOOL "")
30set(KernelCtzNoBuiltin ON CACHE BOOL "")
31