benchmarks: Change options from bool to tristate

This patch changes the enable options of coremark,
coremark-pro and cachespeed from bool to tristate.

This allows the user to select the benchmark to be built
as a elf module, which can be loaded and executed on the
target dynamically.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2024-04-16 19:02:21 +08:00 committed by Xiang Xiao
parent 3cbda8a24c
commit 7159f09375
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#
config BENCHMARK_CACHESPEED
bool "CACHE Speed Test"
tristate "CACHE Speed Test"
depends on ARCH_ICACHE && ARCH_DCACHE
default n
---help---

View File

@ -4,7 +4,7 @@
#
menuconfig BENCHMARK_COREMARK_PRO
bool "Coremark Pro Benchmark"
tristate "Coremark Pro Benchmark"
default n
depends on LIBC_FLOATINGPOINT

View File

@ -4,7 +4,7 @@
#
menuconfig BENCHMARK_COREMARK
bool "CoreMark Benchmark"
tristate "CoreMark Benchmark"
select LIBC_FLOATINGPOINT
default n
---help---