zephyr/subsys/usb/class/netusb/CMakeLists.txt
Anas Nashif 3ae52624ff license: cleanup: add SPDX Apache-2.0 license identifier
Update the files which contain no license information with the
'Apache-2.0' SPDX license identifier.  Many source files in the tree are
missing licensing information, which makes it harder for compliance
tools to determine the correct license.

By default all files without license information are under the default
license of Zephyr, which is Apache version 2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-04-07 08:45:22 -04:00

34 lines
557 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_include_directories(
# USB headers
${ZEPHYR_BASE}/include/drivers/usb
${ZEPHYR_BASE}/include/usb/
${ZEPHYR_BASE}/subsys/usb/
..
# IP headers
${ZEPHYR_BASE}/subsys/net/ip
)
zephyr_library_sources(
netusb.c
)
zephyr_library_sources_ifdef(
CONFIG_USB_DEVICE_NETWORK_ECM
function_ecm.c
)
zephyr_library_sources_ifdef(
CONFIG_USB_DEVICE_NETWORK_RNDIS
function_rndis.c
)
zephyr_library_sources_ifdef(
CONFIG_USB_DEVICE_NETWORK_EEM
function_eem.c
)