drivers: sensor: clean up zephyr_library calls, again
Apply the same fix in bd8afe9365
(" drivers: sensor: clean up zephyr_library calls") to remove
redundant code in the sensor driver build system files. Additional
instances of the antipattern have crept in.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
4b5bab2bc1
commit
21c6ca9487
3 changed files with 4 additions and 6 deletions
|
@ -5,4 +5,4 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_LSM303DLHC_MAGN lsm303dlhc_magn.c)
|
||||
zephyr_library_sources(lsm303dlhc_magn.c)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# Copyright (c) 2019 Thomas Schmid <tom@lfence.de>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library_sources(ms5607.c)
|
||||
zephyr_library_sources(ms5607_i2c.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_MS5607 ms5607_spi.c)
|
||||
zephyr_library()
|
||||
zephyr_library_sources(ms5607.c ms5607_i2c.c ms5607_spi.c)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_SHTCX shtcx.c)
|
||||
zephyr_library_sources(shtcx.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue