native boards: AMP fix: localize the CONFIG_ symbols
The Zephyr build leaves all kconfig options as absolute symbols in the image. This need to be localized, otherwise they will appear as duplicates with other Zephyr images. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
dd29dffca4
commit
9fea8f5f6b
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ set(nsi_config_content
|
|||
"NSI_EXTRA_LIBS:=$<JOIN:$<TARGET_PROPERTY:native_simulator,RUNNER_LINK_LIBRARIES>,\ >"
|
||||
"NSI_PATH:=${NSI_DIR}/"
|
||||
"NSI_N_CPUS:=${CONFIG_NATIVE_SIMULATOR_NUMBER_MCUS}"
|
||||
"NSI_LOCALIZE_OPTIONS:=--localize-symbol=CONFIG_*"
|
||||
)
|
||||
|
||||
string(REPLACE ";" "\n" nsi_config_content "${nsi_config_content}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue