refactor: 清理Makefile冗余项

清理Makefile冗余项,各模块Makefile里不需要再次引用公共路径,只需引用私有头文件路径

close: #I49MOO

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I2dd7189c866498896461f78bfed5444ae1d86876
This commit is contained in:
arvinzzz
2021-09-11 16:05:23 +08:00
parent 0326cbf12e
commit b3d96d166c
43 changed files with 115 additions and 135 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ endif
ifeq ($(LOSCFG_KERNEL_PIPE), y)
LITEOS_BASELIB += -lpipes
LIB_SUBDIRS += kernel/extended/pipes
LITEOS_PIPE_INCLUDE += -I $(LITEOSTOPDIR)/kernel/extended/pipes
LITEOS_PIPE_INCLUDE += -I $(LITEOSTOPDIR)/../../third_party/NuttX/drivers/pipes
endif
ifeq ($(LOSCFG_KERNEL_PM), y)
@@ -241,7 +241,6 @@ endif
-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
endif
ifeq ($(LOSCFG_FS_FAT), y)
@@ -259,6 +258,7 @@ endif
ifeq ($(LOSCFG_FS_FAT_DISK), y)
LITEOS_BASELIB += -ldisk
LIB_SUBDIRS += $(LITEOSTOPDIR)/drivers/block/disk
LITEOS_VFS_DISK_INCLUDE := -I $(LITEOSTOPDIR)/drivers/block/disk/include
endif
ifeq ($(LOSCFG_FS_FAT_CACHE), y)