From fd3f4072b5c3dff710013ccdaddf114b0e13f435 Mon Sep 17 00:00:00 2001 From: mucor Date: Tue, 22 Jun 2021 09:40:59 +0800 Subject: [PATCH] fix: compile error when fatfs disabled close: I3WTLZ Signed-off-by: mucor --- tools/build/mk/los_config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/build/mk/los_config.mk b/tools/build/mk/los_config.mk index 1d805b1a..d78eb344 100644 --- a/tools/build/mk/los_config.mk +++ b/tools/build/mk/los_config.mk @@ -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