modules: hal_nordic: Make module directory avaliable to others

Make the nrfx module directory avaliable to other
cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-08-07 15:14:33 +02:00 committed by Carles Cufí
commit 65cd717152

View file

@ -3,7 +3,7 @@
zephyr_library()
set(NRFX_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/nrfx)
set(NRFX_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/nrfx CACHE PATH "nrfx Directory")
set(INC_DIR ${NRFX_DIR}/drivers/include)
set(SRC_DIR ${NRFX_DIR}/drivers/src)
set(MDK_DIR ${NRFX_DIR}/mdk)