Skip to content

Commit 91a10d8

Browse files
e-rknordicjm
authored andcommitted
softdevice_controller: Add SDC include dir globally
The sdc_soc.h header file is now needed in nrfx_glue.h to set-up event system resource reservations. This requires the header file to be available globally within the build system. Without this change, external libraries that transitively include nrfx_glue.h through zephyr/kernel.h cannot be built. One of such libraries is Matter. Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent e96a443 commit 91a10d8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

softdevice_controller/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
#
66

77
if (CONFIG_BT_LL_SOFTDEVICE_HEADERS_INCLUDE AND NOT CONFIG_BT_LL_SOFTDEVICE_HEADERS_INCLUDE_PATH_OVERRIDE)
8-
zephyr_interface_library_named (SOFTDEVICE_CONTROLLER_LIB_HEADERS)
9-
target_include_directories(SOFTDEVICE_CONTROLLER_LIB_HEADERS
10-
INTERFACE include)
11-
zephyr_link_libraries(INTERFACE SOFTDEVICE_CONTROLLER_LIB_HEADERS)
8+
zephyr_include_directories(include)
129
endif()
1310

1411
if(CONFIG_BT_LL_SOFTDEVICE AND CONFIG_BT_LL_SOFTDEVICE_BUILD_TYPE_LIB)

0 commit comments

Comments
 (0)