module/sotest: Fix depends of SOTEST_BUILTINFS

Log:
  sotest_main.c: In function 'sotest_main':
  sotest_main.c:116:29: error: storage size of 'desc' isn't known
    116 |   struct boardioc_romdisk_s desc;
        |                             ^~~~
  sotest_main.c:116:29: error: unused variable 'desc' [-Werror=unused-variable]
  cc1: all warnings being treated as errors

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
wangjianyu3 2024-06-21 19:17:48 +08:00 committed by Xiang Xiao
parent 140647cf8c
commit 74b05468d6

View File

@ -15,7 +15,7 @@ if EXAMPLES_SOTEST
config EXAMPLES_SOTEST_BUILTINFS
bool "Built-in File System"
default y
depends on FS_ROMFS && BUILD_FLAT
depends on FS_ROMFS && BUILD_FLAT && BOARDCTL_ROMDISK
---help---
This example supports a very, non-standard but also very convenient
way of testing with example using CONFIG_EXAMPLES_SOTEST_BUILTINFS.