fix: 通过menuconfig关闭VFS选项后,代码编译无法通过
【背景】关闭VFS时,编译无法通过 【修改方案】 1,添加对fs依赖的模块中对fs开启情况的判断 【影响】 对现有的产品编译不会有影响。 re #I4X5DX Signed-off-by: wangchen <wangchen64@huawei.com>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
*/
|
||||
|
||||
#include "stdarg.h"
|
||||
#include "vfs_operations.h"
|
||||
#include "los_arch.h"
|
||||
#include "los_config.h"
|
||||
#include "los_debug.h"
|
||||
@@ -88,6 +87,10 @@
|
||||
#include "los_box.h"
|
||||
#endif
|
||||
|
||||
#if (LOSCFG_FS_VFS == 1)
|
||||
#include "vfs_operations.h"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
Function : LOS_Reboot
|
||||
Description : system exception, die in here, wait for watchdog.
|
||||
|
||||
Reference in New Issue
Block a user