Skip to content

cmake: Supports specifying link script prefix parameters #16710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

W-M-R
Copy link
Contributor

@W-M-R W-M-R commented Jul 11, 2025

Note: Please adhere to Contributing Guidelines.

Summary

cmake: Supports specifying link script prefix parameters
For example, armclang does not support -T

Impact

No impact

Testing

ci

@github-actions github-actions bot added Area: Build system Size: S The size of the change in this PR is small labels Jul 11, 2025
For example, armclang does not support -T

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
@@ -659,8 +664,7 @@ if(NOT CONFIG_ARCH_SIM)
target_link_libraries(
nuttx
PRIVATE ${NUTTX_EXTRA_FLAGS}
-T
${ldscript}
${LINK_SCRIPT_FLAG}${ldscript}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a space -> ${LINK_SCRIPT_FLAG} ${ldscript}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It cannot add spaces here because the armclang linker script option --scatter= cannot have spaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Build system Size: S The size of the change in this PR is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy