Instead of putting object files inside libzephyr.a, simply build a separate static library for the top level of sensor drivers. Also, for those that were not building its own static library, make them do so as majority of sensor drivers are building their own static libraries. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
5 lines
211 B
CMake
5 lines
211 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources_ifdef(CONFIG_GROVE_LIGHT_SENSOR light_sensor.c)
|
|
zephyr_library_sources_ifdef(CONFIG_GROVE_TEMPERATURE_SENSOR temperature_sensor.c)
|