From 5425be18fb4fbbb4fc6580dedea666ce750675a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bainczyk?= Date: Wed, 23 Jul 2025 14:13:32 +0200 Subject: [PATCH] [nrf fromlist] modules: hal_nordic: nrfx: Add support for custom NRFX_DIR on Sysbuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/hal_nordic/nrfx/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hal_nordic/nrfx/CMakeLists.txt b/modules/hal_nordic/nrfx/CMakeLists.txt index d063046cfa8..dc31c3a13ca 100644 --- a/modules/hal_nordic/nrfx/CMakeLists.txt +++ b/modules/hal_nordic/nrfx/CMakeLists.txt @@ -5,6 +5,8 @@ zephyr_library() # The nrfx source directory can be override through the definition of the NRFX_DIR symbol # during the invocation of the build system +zephyr_get(NRFX_DIR SYSBUILD GLOBAL) + if(NOT DEFINED NRFX_DIR) set(NRFX_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/nrfx CACHE PATH "nrfx Directory") endif()