Skip to content

Conversation

@keith-packard
Copy link
Contributor

Use the same logic as the top-level Zephyr CMakeLists.txt does to find the linker script option by using the first one of these which is set:

  1. Global TOPT property
  2. Compiler's linker_script property
  3. -Wl,-T

This avoids toolchains which insert a default linker script when none is provided on the command line using the -T option.

Use the same logic as the top-level Zephyr CMakeLists.txt does to
find the linker script option by using the first one of these
which is set:

 1. Global TOPT property
 2. Compiler's linker_script property
 3. -Wl,-T

This avoids toolchains which insert a default linker script
when none is provided on the command line using the -T option.

Signed-off-by: Keith Packard <keithp@keithp.com>
@github-actions github-actions bot added the area: llext Linkable Loadable Extensions label May 8, 2025
@github-actions github-actions bot requested review from lyakh, pillo79 and teburd May 8, 2025 18:20
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 9, 2025

@kartben kartben merged commit 958ef22 into zephyrproject-rtos:main May 12, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: llext Linkable Loadable Extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants