include $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/lite.mk
MODULE_NAME := hdf_storage_driver
LOCAL_INCLUDE := $(LITEOSTOPDIR)/../../base/hiviewdfx/interfaces/kits \
$(LITEOSTOPDIR)/../../third_party/mtd-utils/include \
$(LITEOSTOPDIR)/../../drivers/khdf/liteos/model/storage/include \
ifeq ($(LOSCFG_DRIVERS_HDF_PLATFORM_MMC), y)
LOCAL_SRCS += src/mmc/mmc_block_lite.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_block.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_core.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_dispatch.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_if.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_protocol.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_sdio.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/mmc_emmc.c
endif
ifeq ($(LOSCFG_DRIVERS_HDF_PLATFORM_SDIO), y)
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/sdio_if.c
endif
ifeq ($(LOSCFG_DRIVERS_HDF_PLATFORM_EMMC), y)
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mmc/emmc_if.c
endif
ifeq ($(LOSCFG_DRIVERS_HDF_STORAGE_MTD), y)
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mtd/mtd_core.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mtd/mtd_spi_common.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mtd/mtd_char.c
LOCAL_SRCS += $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/storage/src/mtd/mtd_block.c
LOCAL_SRCS += src/mtd/mtd_legacy_lite.c
LOCAL_SRCS += src/mtd/mtd_char_lite.c
LOCAL_SRCS += src/mtd/mtd_block_lite.c
endif
include $(HDF_DRIVER)