!349 修复当Fatfs开关关闭时,编译失败的问题

Merge pull request !349 from 野生毛霉君/master
This commit is contained in:
openharmony_ci 2021-06-22 03:04:10 +00:00 committed by Gitee
commit 8bb4538de1
1 changed files with 3 additions and 3 deletions

View File

@ -287,7 +287,8 @@ ifeq ($(LOSCFG_FS_VFS_BLOCK_DEVICE), y)
LIB_SUBDIRS += $(LITEOSTOPDIR)/drivers/char/bch
endif
LIB_SUBDIRS += fs/vfs drivers/mtd/multi_partition
LITEOS_VFS_INCLUDE += -I $(LITEOSTOPDIR)/fs/include
LITEOS_VFS_INCLUDE += -I $(LITEOSTOPDIR)/fs/include \
-I $(LITEOSTOPDIR)/fs/vfs/include
LITEOS_VFS_INCLUDE += -I $(LITEOSTOPDIR)/fs/vfs/include/operation
LITEOS_VFS_MTD_INCLUDE := -I $(LITEOSTOPDIR)/drivers/mtd/multi_partition/include
LITEOS_VFS_DISK_INCLUDE := -I $(LITEOSTOPDIR)/drivers/block/disk/include
@ -313,8 +314,7 @@ endif
ifeq ($(LOSCFG_FS_FAT_CACHE), y)
LITEOS_BASELIB += -lbcache
LIB_SUBDIRS += fs/vfs/bcache
LITEOS_FAT_CACHE_INCLUDE += -I $(LITEOSTOPDIR)/fs/vfs/include/bcache \
-I $(LITEOSTOPDIR)/fs/vfs/include
LITEOS_FAT_CACHE_INCLUDE += -I $(LITEOSTOPDIR)/fs/vfs/include/bcache
endif