samples: net: sockets: Update HTTP server linker with CMake variable

Use the CMake variable for iterable section's subalignment instead of a
global defined macro.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-10-02 08:44:00 +02:00 committed by Fabio Baltieri
parent e9d24aa7da
commit 668a5dc55d

View File

@ -35,11 +35,11 @@ zephyr_linker_sources(SECTIONS sections-rom.ld)
zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTPS_SERVICE NAME
http_resource_desc_test_https_service
KVMA RAM_REGION GROUP RODATA_REGION
SUBALIGN Z_LINK_ITERABLE_SUBALIGN)
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTP_SERVICE NAME
http_resource_desc_test_http_service
KVMA RAM_REGION GROUP RODATA_REGION
SUBALIGN Z_LINK_ITERABLE_SUBALIGN)
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
foreach(web_resource
index.html