zephyr/drivers/sensor/lsm6dsl/CMakeLists.txt

10 lines
312 B
CMake
Raw Normal View History

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(lsm6dsl.c)
zephyr_library_sources(lsm6dsl_spi.c)
zephyr_library_sources(lsm6dsl_i2c.c)
zephyr_library_sources_ifdef(CONFIG_LSM6DSL_TRIGGER lsm6dsl_trigger.c)
zephyr_library_sources_ifdef(CONFIG_LSM6DSL_SENSORHUB lsm6dsl_shub.c)