fix: drivers: remove redundant config checks in cmake files
This commit does not introduce any functional change to the codebase. Just removes certain redundant checks from various CMakeLists.txt files in order to bring more coherence in the codebase. Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
This commit is contained in:
parent
d20c95e529
commit
4e262bf83a
5 changed files with 7 additions and 7 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_ADT7310 adt7310.c)
|
||||
zephyr_library_sources(adt7310.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADT7310_TRIGGER adt7310_trigger.c)
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_BMI08X bmi08x_accel.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BMI08X bmi08x_gyro.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BMI08X bmi08x.c)
|
||||
zephyr_library_sources(bmi08x_accel.c)
|
||||
zephyr_library_sources(bmi08x_gyro.c)
|
||||
zephyr_library_sources(bmi08x.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BMI08X_ACCEL_TRIGGER bmi08x_accel_trigger.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BMI08X_GYRO_TRIGGER bmi08x_gyro_trigger.c)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_DS18B20 ds18b20.c)
|
||||
zephyr_library_sources(ds18b20.c)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_MAX31855 max31855.c)
|
||||
zephyr_library_sources(max31855.c)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_PCNT_ESP32 pcnt_esp32.c)
|
||||
zephyr_library_sources(pcnt_esp32.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue