yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | # Define source file\ lists to SRC_LIST |
| 2 | SRC_LIST += driver/storage/mc/src/dcl_memory_card.c \ |
| 3 | driver/storage/mc/src/msdc.c \ |
| 4 | driver/storage/mc/src/usbms_msdc.c |
| 5 | ifneq ($(filter __MSDC2_SD_MMC__, $(strip $(COM_DEFS))),) |
| 6 | SRC_LIST += driver/storage/mc/src/msdc_fake_kal.c \ |
| 7 | driver/storage/mc/src/msdc2.c \ |
| 8 | driver/storage/mc/src/sdio_drv.c \ |
| 9 | #driver/storage/mc/src/msdc_test.c |
| 10 | endif |
| 11 | ## SD/MMC memory card select. |
| 12 | ifneq ($(filter __MSDC_SD_MMC__, $(strip $(MODULE_DEFS))),) |
| 13 | SRC_LIST += driver/storage/mc/src/sd.c \ |
| 14 | driver/storage/mc/src/sd_drv.c |
| 15 | ifneq ($(filter __MSDC2_SD_MMC__, $(strip $(COM_DEFS))),) |
| 16 | SRC_LIST += driver/storage/mc/src/sd2.c \ |
| 17 | driver/storage/mc/src/sd_drv2.c \ |
| 18 | driver/storage/mc/src/sd_adap.c |
| 19 | endif |
| 20 | endif |
| 21 | |
| 22 | |
| 23 | |
| 24 | # Define include path lists to INC_DIR |
| 25 | INC_DIR += interface/driver/drv_def \ |
| 26 | driver/storage/mc/inc \ |
| 27 | ./service/sst/include \ |
| 28 | interface/driver/regbase \ |
| 29 | ./service/fs/common/include \ |
| 30 | driver/sys_drv/cache/inc \ |
| 31 | driver/sys_drv/cache/inc/$(MD_VER_FOLDER) \ |
| 32 | $(strip $(PROJDIR))/custom/driver/drv_gen |
| 33 | |
| 34 | # Define the specified compile options to COMP_DEFS |
| 35 | COMP_DEFS += |
| 36 | |
| 37 | # Define the source file search paths to SRC_PATH |
| 38 | SRC_PATH += driver/storage/mc/src |
| 39 | |