!645 去除mtd对hisilicon驱动的依赖
Merge pull request !645 from SimonLi/OpenHarmony-3.0-LTS
This commit is contained in:
commit
832001a6af
|
@ -37,10 +37,7 @@ kernel_module(module_name) {
|
|||
"src/mtd_shellcmd.c",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"$LITEOSTOPDIR/fs/jffs2/include",
|
||||
"//device/hisilicon/drivers/include/mtd/common/include",
|
||||
]
|
||||
include_dirs = [ "$LITEOSTOPDIR/fs/jffs2/include" ]
|
||||
|
||||
if (defined(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7)) {
|
||||
include_dirs += [ "//device/qemu/drivers/cfiflash" ]
|
||||
|
|
|
@ -35,8 +35,8 @@ LOCAL_SRCS := $(wildcard src/*.c)
|
|||
|
||||
LOCAL_INCLUDE := \
|
||||
-I $(LITEOSTOPDIR)/fs/jffs2/include \
|
||||
-I $(LITEOSTOPDIR)/drivers/mtd/multi_partition/include \
|
||||
-I $(LITEOSTOPDIR)/../../device/hisilicon/drivers/include/mtd/common/include
|
||||
-I $(LITEOSTOPDIR)/../../drivers/framework/model/storage/include \
|
||||
-I $(LITEOSTOPDIR)/../../drivers/adapter/khdf/liteos/model/storage/include
|
||||
|
||||
ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
|
||||
LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/drivers/cfiflash
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "los_config.h"
|
||||
#include "los_mux.h"
|
||||
#include "fs/driver.h"
|
||||
#include "mtd_common.h"
|
||||
#include "mtd_legacy_lite.h"
|
||||
|
||||
#ifdef LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7
|
||||
#include "cfiflash.h"
|
||||
|
|
Loading…
Reference in New Issue