2021-02-24 00:41:46 +01:00
|
|
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-04 23:42:24 +02: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)
|
2024-03-06 15:22:36 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_DISK_DRIVER_LOOPBACK loopback_disk.c)
|
2021-08-04 23:42:24 +02:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SDMMC_STM32 sdmmc_stm32.c)
|
2022-02-16 23:27:33 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SDMMC_SUBSYS sdmmc_subsys.c)
|
2022-09-08 02:40:58 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MMC_SUBSYS mmc_subsys.c)
|
2021-08-04 23:42:24 +02:00
|
|
|
|
2022-11-09 11:51:18 +01:00
|
|
|
add_subdirectory_ifdef(CONFIG_NVME nvme)
|
|
|
|
|
2021-08-04 23:42:24 +02:00
|
|
|
endif()
|