1# SPDX-License-Identifier: Apache-2.0 2 3zephyr_library() 4 5zephyr_library_include_directories( 6 # USB headers 7 ${ZEPHYR_BASE}/include/zephyr/drivers/usb 8 ${ZEPHYR_BASE}/include/zephyr/usb/ 9 ${ZEPHYR_BASE}/subsys/usb/device 10 .. 11 12 # IP headers 13 ${ZEPHYR_BASE}/subsys/net/ip 14 ) 15 16zephyr_library_sources( 17 netusb.c 18 ) 19 20zephyr_library_sources_ifdef( 21 CONFIG_USB_DEVICE_NETWORK_ECM 22 function_ecm.c 23 ) 24 25zephyr_library_sources_ifdef( 26 CONFIG_USB_DEVICE_NETWORK_RNDIS 27 function_rndis.c 28 ) 29 30zephyr_library_sources_ifdef( 31 CONFIG_USB_DEVICE_NETWORK_EEM 32 function_eem.c 33 ) 34