Skip to content

cmake: move host-tool loading from Zephyr-sdk into COMPONENTS #49732

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

Closed
wants to merge 1 commit into from

Conversation

tejlmand
Copy link
Collaborator

@tejlmand tejlmand commented Aug 31, 2022

Move loading of Zephyr-sdk host tools cmake file from Zephyr into
Zephyr SDK itself.

This allows us to cleanup Zephyr CMake code as well as place the
responsibility of checking and loading host tools when available.

This removes the need for custom printing as CMake find_package()
provides this functionality built-in, as well as ensuring uniform
message formatting and general package handling.

It further remove the confusing message:

-- Found host-tools: zephyr 0.15.0 (/opt/zephyr-sdk-0.15.0)
which is printed even when host tools are not installed.

Signed-off-by: Torsten Rasmussen [email protected]

@tejlmand
Copy link
Collaborator Author

Related to this PR zephyrproject-rtos/sdk-ng#555

DNM until referred PR is merged.

@tejlmand tejlmand added the DNM This PR should not be merged (Do Not Merge) label Aug 31, 2022
@nordicjm
Copy link
Collaborator

nordicjm commented Sep 2, 2022

@tejlmand This can be rebased

nordicjm
nordicjm previously approved these changes Sep 2, 2022
Move loading of Zephyr-sdk host tools cmake file from Zephyr into
Zephyr SDK itself.

This allows us to cleanup Zephyr CMake code as well as place the
responsibility of checking and loading host tools when available.

This removes the need for custom printing as CMake find_package()
provides this functionality built-in, as well as ensuring uniform
message formatting and general package handling.

It further remove the confusing message:
> -- Found host-tools: zephyr 0.15.0 (/opt/zephyr-sdk-0.15.0)
which is printed even when host tools are not installed.

Signed-off-by: Torsten Rasmussen <[email protected]>
@tejlmand tejlmand added DNM This PR should not be merged (Do Not Merge) and removed DNM This PR should not be merged (Do Not Merge) labels Sep 2, 2022
@github-actions
Copy link

github-actions bot commented Nov 2, 2022

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Nov 2, 2022
@github-actions github-actions bot closed this Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System area: Toolchains Toolchains area: Twister Twister DNM This PR should not be merged (Do Not Merge) Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants