zephyr/drivers/haptics/CMakeLists.txt

8 lines
257 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/haptics.h)
zephyr_library_sources_ifdef(CONFIG_HAPTICS_DRV2605 drv2605.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE haptics_handlers.c)