diff --git a/drivers/can/CMakeLists.txt b/drivers/can/CMakeLists.txt index 96572e64..dd75f728 100644 --- a/drivers/can/CMakeLists.txt +++ b/drivers/can/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2023 Space Cubics, LLC. # SPDX-License-Identifier: Apache-2.0 -zephyr_library() +zephyr_library_amend() zephyr_library_sources_ifdef(CONFIG_CAN_SCCAN can_sccan.c) diff --git a/drivers/i2c/CMakeLists.txt b/drivers/i2c/CMakeLists.txt index 8e35543b..19943432 100644 --- a/drivers/i2c/CMakeLists.txt +++ b/drivers/i2c/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2023 Space Cubics, LLC. # SPDX-License-Identifier: Apache-2.0 -zephyr_library() +zephyr_library_amend() zephyr_library_sources_ifdef(CONFIG_I2C_SC i2c_sc.c) diff --git a/drivers/pwm/CMakeLists.txt b/drivers/pwm/CMakeLists.txt index 7b9a5fbe..1e6329fa 100644 --- a/drivers/pwm/CMakeLists.txt +++ b/drivers/pwm/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2023 Space Cubics, LLC. # SPDX-License-Identifier: Apache-2.0 -zephyr_library() +zephyr_library_amend() zephyr_library_sources_ifdef(CONFIG_PWM_SC pwm_sc.c) diff --git a/drivers/spi/CMakeLists.txt b/drivers/spi/CMakeLists.txt index ca6c95f3..54aec3d6 100644 --- a/drivers/spi/CMakeLists.txt +++ b/drivers/spi/CMakeLists.txt @@ -1,5 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -zephyr_library() +zephyr_library_amend() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers/spi) zephyr_library_sources_ifdef(CONFIG_SPI_SC_QSPI spi_sc.c)