From 63d75cc26d2ca6f86fa54f88198287630280be1d Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Mon, 23 May 2022 12:28:48 -0600 Subject: [PATCH] cmake: Fix typo in common-rom.cmake ALIGN_WITH_INPUT is an argument for zephyr_linker_section, not zephyr_linker_section_configure. Fix the calls for section .emulators accordingly. Signed-off-by: Abe Levkoy --- cmake/linker_script/common/common-rom.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/linker_script/common/common-rom.cmake b/cmake/linker_script/common/common-rom.cmake index 4a60daab9ab..0d267fb3621 100644 --- a/cmake/linker_script/common/common-rom.cmake +++ b/cmake/linker_script/common/common-rom.cmake @@ -143,8 +143,8 @@ endif() zephyr_iterable_section(NAME k_p4wq_initparam KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4) if(CONFIG_EMUL) - zephyr_linker_section(NAME emulators_section GROUP RODATA_REGION) - zephyr_linker_section_configure(SECTION emulators_section INPUT ".emulators" KEEP SORT NAME ${XIP_ALIGN_WITH_INPUT}) + zephyr_linker_section(NAME emulators_section GROUP RODATA_REGION ${XIP_ALIGN_WITH_INPUT}) + zephyr_linker_section_configure(SECTION emulators_section INPUT ".emulators" KEEP SORT NAME) endif() if(CONFIG_DNS_SD)