1# SPDX-License-Identifier: Apache-2.0
2
3if(CONFIG_USB_DEVICE_DRIVER)
4
5zephyr_library()
6zephyr_library_include_directories(${ZEPHYR_BASE}/drivers/usb/common/)
7
8zephyr_library_sources_ifdef(CONFIG_USB_DW           usb_dc_dw.c)
9zephyr_library_sources_ifdef(CONFIG_USB_DC_RPI_PICO  usb_dc_rpi_pico.c)
10zephyr_library_sources_ifdef(CONFIG_USB_DC_STM32     usb_dc_stm32.c)
11zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM0      usb_dc_sam0.c)
12zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM_USBC  usb_dc_sam_usbc.c)
13zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM_USBHS usb_dc_sam_usbhs.c)
14zephyr_library_sources_ifdef(CONFIG_USB_KINETIS      usb_dc_kinetis.c)
15zephyr_library_sources_ifdef(CONFIG_USB_NATIVE_POSIX
16	usb_dc_native_posix.c
17	usb_dc_native_posix_adapt.c
18	)
19zephyr_library_sources_ifdef(CONFIG_USB_NRFX         usb_dc_nrfx.c)
20zephyr_library_sources_ifdef(CONFIG_USB_MCUX         usb_dc_mcux.c)
21zephyr_library_sources_ifdef(CONFIG_USB_DC_SMARTBOND usb_dc_smartbond.c)
22zephyr_library_sources_ifdef(CONFIG_USB_DC_IT82XX2   usb_dc_it82xx2.c)
23zephyr_library_sources_ifdef(CONFIG_USB_DC_NUMAKER   usb_dc_numaker.c)
24
25endif()
26