mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
Make kernel log buffer derived from cmake config
This removes the explicit CMake configuration for the kernel log buffer and replaces it with a #define that is enabled for the required configurations. Signed-off-by: Curtis Millar <curtis@curtism.me>
This commit is contained in:
committed by
Curtis Millar
parent
2c6576c80a
commit
a00c2c16cf
@@ -372,13 +372,6 @@ config_string(
|
||||
DEPENDS "NOT KernelVerificationBuild;KernelBenchmarksTracepoints" DEFAULT_DISABLED 0
|
||||
UNQUOTE
|
||||
)
|
||||
# TODO: this config has no business being in the build system, and should
|
||||
# be moved to C headers, but for now must be emulated here for compatibility
|
||||
if(KernelBenchmarksTrackKernelEntries OR KernelBenchmarksTracepoints)
|
||||
config_set(KernelBenchmarkUseKernelLogBuffer BENCHMARK_USE_KERNEL_LOG_BUFFER ON)
|
||||
else()
|
||||
config_set(KernelBenchmarkUseKernelLogBuffer BENCHMARK_USE_KERNEL_LOG_BUFFER OFF)
|
||||
endif()
|
||||
|
||||
config_option(
|
||||
KernelIRQReporting IRQ_REPORTING
|
||||
|
||||
Reference in New Issue
Block a user