Skip to content

Commit 84661e7

Browse files
mib1-nordicrlubos
authored andcommitted
modules: hal_nordic: nrfx: Add support for custom NRFX_DIR for Sysbuild
Add support for custom NRFX_DIR for Sysbuild builds by checking if NRFX_DIR has been defined in Sysbuild. Signed-off-by: Michał Bainczyk <[email protected]>
1 parent 21d2791 commit 84661e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/hal_nordic/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright (c) 2025 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3+
zephyr_get(NRFX_DIR SYSBUILD GLOBAL)
4+
35
if(NOT DEFINED NRFX_DIR)
46
set(NRFX_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/nrfx/ CACHE PATH "nrfx Directory")
57
endif()

0 commit comments

Comments
 (0)