Commit 85d4ebcf authored by Jamie McCrae's avatar Jamie McCrae Committed by Daniel DeGrasse
Browse files

soc: nordic: ironside: Fix bleeding config



Fixes generating a library for devices that do not need it which
gives a cmake warning

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent c8d9f4b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,4 +47,4 @@ endif()

add_subdirectory(${SOC_SERIES})
add_subdirectory(common)
add_subdirectory(ironside)
add_subdirectory_ifdef(CONFIG_NRF_IRONSIDE ironside)
+0 −3
Original line number Diff line number Diff line
@@ -2,11 +2,8 @@
# SPDX-License-Identifier: Apache-2.0

zephyr_include_directories(include)

zephyr_library()

zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_CALL call.c)

zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_BOOT_REPORT boot_report.c)
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_CPUCONF_SERVICE cpuconf.c)
zephyr_library_sources_ifdef(CONFIG_NRF_IRONSIDE_UPDATE_SERVICE update.c)
+3 −0
Original line number Diff line number Diff line
@@ -22,7 +22,10 @@
#include <soc/nrfx_coredep.h>
#include <soc_lrcconf.h>
#include <dmm.h>

#if defined(CONFIG_SOC_NRF54H20_CPURAD_ENABLE)
#include <nrf_ironside/cpuconf.h>
#endif

LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL);