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:
parent
3cbda8a24c
commit
7159f09375
@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
config BENCHMARK_CACHESPEED
|
||||
bool "CACHE Speed Test"
|
||||
tristate "CACHE Speed Test"
|
||||
depends on ARCH_ICACHE && ARCH_DCACHE
|
||||
default n
|
||||
---help---
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
menuconfig BENCHMARK_COREMARK_PRO
|
||||
bool "Coremark Pro Benchmark"
|
||||
tristate "Coremark Pro Benchmark"
|
||||
default n
|
||||
depends on LIBC_FLOATINGPOINT
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
menuconfig BENCHMARK_COREMARK
|
||||
bool "CoreMark Benchmark"
|
||||
tristate "CoreMark Benchmark"
|
||||
select LIBC_FLOATINGPOINT
|
||||
default n
|
||||
---help---
|
||||
|
Loading…
x
Reference in New Issue
Block a user