2021-02-24 07:41:46 +08:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-05 05:42:24 +08:00
|
|
|
if(CONFIG_DISK_DRIVERS)
|
|
|
|
|
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_FLASH flashdisk.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_RAM ramdisk.c)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SDMMC_STM32 sdmmc_stm32.c)
|
2022-02-17 06:27:33 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SDMMC_SUBSYS sdmmc_subsys.c)
|
2022-09-08 08:40:58 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MMC_SUBSYS mmc_subsys.c)
|
2021-08-05 05:42:24 +08:00
|
|
|
|
2022-11-09 18:51:18 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_NVME nvme)
|
|
|
|
|
2021-08-05 05:42:24 +08:00
|
|
|
endif()
|