Commit 2d69a5eb authored by Michał Bainczyk's avatar Michał Bainczyk Committed by Benjamin Cabé
Browse files

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.

Signed-off-by: default avatarMichał Bainczyk <michal.bainczyk@nordicsemi.no>
parent 3a0899fa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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()