Skip to content

Commit 877eb0d

Browse files
mib1-nordicrlubos
authored andcommitted
[nrf fromlist] modules: hal_nordic: nrfx: Add support for custom NRFX_DIR on Sysbuild
Add support for custom NRFX_DIR for Sysbuild builds by checking if NRFX_DIR has been defined in Sysbuild. Upstream PR #: 93583 Signed-off-by: Michał Bainczyk <[email protected]>
1 parent 0620af2 commit 877eb0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ zephyr_library()
55

66
# The nrfx source directory can be override through the definition of the NRFX_DIR symbol
77
# during the invocation of the build system
8+
zephyr_get(NRFX_DIR SYSBUILD GLOBAL)
9+
810
if(NOT DEFINED NRFX_DIR)
911
set(NRFX_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/nrfx CACHE PATH "nrfx Directory")
1012
endif()

0 commit comments

Comments
 (0)