Skip to content

Commit 2a4417b

Browse files
asmellbynashif
authored andcommitted
soc: silabs: Fix CMake test for soc family
Kconfig options need CONFIG_ prefix when tested for in CMakeLists.txt. Fixes regression introduced in e90c89d that causes all apps to fail to initialize on Silabs socs. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent 94ded47 commit 2a4417b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/silabs/common/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
if(SOC_FAMILY_SILABS_S0 OR SOC_FAMILY_SILABS_S1 OR SOC_FAMILY_SILABS_S2)
3+
if(CONFIG_SOC_FAMILY_SILABS_S0 OR CONFIG_SOC_FAMILY_SILABS_S1 OR CONFIG_SOC_FAMILY_SILABS_S2)
44
zephyr_sources(soc.c)
55
endif()
66

0 commit comments

Comments
 (0)