testing/ostest: set the default value to TESTING_OSTEST_FPUSIZE
.config:2053:warning: symbol value '' invalid for TESTING_OSTEST_FPUSIZE Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
61fe9c4fa2
commit
cb988a8394
@ -88,6 +88,7 @@ if !TESTING_OSTEST_FPUTESTDISABLE
|
||||
|
||||
config TESTING_OSTEST_FPUSIZE
|
||||
int "Size of floating point register save area"
|
||||
default 0
|
||||
|
||||
config TESTING_OSTEST_FPULOOPS
|
||||
int "Number of FPU test loops"
|
||||
|
@ -43,11 +43,13 @@
|
||||
#undef HAVE_FPU
|
||||
#ifdef CONFIG_ARCH_FPU
|
||||
# if defined(CONFIG_TESTING_OSTEST_FPUSIZE) && \
|
||||
(CONFIG_TESTING_OSTEST_FPUSIZE != 0) && \
|
||||
defined(CONFIG_SCHED_WAITPID) && \
|
||||
defined(CONFIG_BUILD_FLAT)
|
||||
# define HAVE_FPU 1
|
||||
# else
|
||||
# ifndef CONFIG_TESTING_OSTEST_FPUSIZE
|
||||
# if defined(CONFIG_TESTING_OSTEST_FPUSIZE) && \
|
||||
(CONFIG_TESTING_OSTEST_FPUSIZE == 0)
|
||||
# warning "FPU test not built; CONFIG_TESTING_OSTEST_FPUSIZE not defined"
|
||||
# endif
|
||||
# ifndef CONFIG_SCHED_WAITPID
|
||||
|
Loading…
Reference in New Issue
Block a user