rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | # Define source file lists to SRC_LIST
|
| 2 | SRC_LIST = driver/connectivity/usb_driver/src/usb_phy_drv.c \ |
| 3 | driver/connectivity/usb_driver/src/upll_ctrl.c \ |
| 4 | driver/connectivity/usb_driver/src/dcl_usb_drv.c \ |
| 5 | driver/connectivity/usb_driver/src/dcl_usb_hcd.c |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 | # USB Dummy API
|
| 10 | ifeq ($(filter __USB_ENABLE__,$(strip $(MODULE_DEFS))),)
|
| 11 | SRC_LIST +=driver/connectivity/usb_driver/src/usb_dummy.c |
| 12 | endif
|
| 13 |
|
| 14 |
|
| 15 | # USB LOGGING
|
| 16 | ifneq ($(filter __USB_LOGGING__,$(strip $(MODULE_DEFS))),)
|
| 17 | SRC_LIST +=driver/connectivity/usb_driver/src/usblog_drv.c |
| 18 | endif
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 | # USB MASS STORAGE CLASS
|
| 23 | ifneq ($(filter __USB_RAMDISK__,$(strip $(MODULE_DEFS))),)
|
| 24 | SRC_LIST +=driver/connectivity/usb_driver/src/usbms_ram.c |
| 25 | endif
|
| 26 |
|
| 27 |
|
| 28 | # USB CD ROM CLASS
|
| 29 | ifneq ($(filter __USB_MASS_STORAGE_CDROM_ENABLE__,$(strip $(MODULE_DEFS))),)
|
| 30 | SRC_LIST +=driver/connectivity/usb_driver/src/usbms_cdrom.c |
| 31 | endif
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 | # USB OTG
|
| 36 | ifneq ($(filter __OTG_ENABLE__,$(strip $(MODULE_DEFS))),)
|
| 37 | SRC_LIST +=driver/connectivity/usb_driver/src/dcl_otg_drv.c |
| 38 | endif
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 | # Define include path lists to INC_DIR
|
| 43 | INC_DIR = driver/drv/include \ |
| 44 | driver/connectivity/usb_driver/inc \ |
| 45 | driver/connectivity/usb_class/include \ |
| 46 | interface/driver/drv_def \ |
| 47 | interface/driver/connectivity/usb_driver \ |
| 48 | interface/driver/regbase \ |
| 49 | driver/peripheral/inc \ |
| 50 | driver/sleep_drv/public/inc |
| 51 |
|
| 52 |
|
| 53 | # Define the specified compile options to COMP_DEFS
|
| 54 | COMP_DEFS = APCS_INTWORK
|
| 55 |
|
| 56 | # Define the source file search paths to SRC_PATH
|
| 57 | SRC_PATH = driver/connectivity/usb_driver/src |