From 0832436d6e2882efedec639672f56dc7f5946927 Mon Sep 17 00:00:00 2001 From: Andrzej Kuros Date: Thu, 5 Sep 2024 09:03:50 +0200 Subject: [PATCH] cmake: nrfxlib_calculate_lib_path common lib for nRF54L15 and nRF54L15_ENGA One library path is returned by nrfxlib_calculate_lib_path for both CONFIG_SOC_NRF54L15_CPUAPP and CONFIG_SOC_NRF54L15_ENGA_CPUAPP. The libraries for both version of the SoC are expected to be the same. In case any user of this function needs a separate version (not recommended) of the library for CONFIG_SOC_NRF54L15_ENGA_CPUAPP, the result returned by this function should be updated by the calling cmake code. Signed-off-by: Andrzej Kuros --- common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.cmake b/common.cmake index 70af2a3365..eb875e00cd 100644 --- a/common.cmake +++ b/common.cmake @@ -48,7 +48,7 @@ function(nrfxlib_calculate_lib_path lib_path) set(arch_soc_dir ${arch_soc_dir}_cpuapp) elseif(DEFINED CONFIG_SOC_NRF5340_CPUNET) set(arch_soc_dir ${arch_soc_dir}_cpunet) - elseif(DEFINED CONFIG_SOC_NRF54L15_ENGA_CPUAPP) + elseif(DEFINED CONFIG_SOC_NRF54L15_CPUAPP OR DEFINED CONFIG_SOC_NRF54L15_ENGA_CPUAPP) set(arch_soc_dir ${arch_soc_dir}_cpuapp) if(DEFINED CONFIG_TRUSTED_EXECUTION_NONSECURE AND ${CALC_LIB_PATH_NS_PROVIDED}) set(arch_soc_dir ${arch_soc_dir}_ns)