Skip to content

Commit

Permalink
cmake: nrfxlib_calculate_lib_path common lib for nRF54L15 and nRF54L1…
Browse files Browse the repository at this point in the history
…5_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 <[email protected]>
  • Loading branch information
ankuns authored and rlubos committed Sep 5, 2024
1 parent 3829de9 commit 82c2271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 82c2271

Please sign in to comment.