Skip to content
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

Bazel: disable link_extra_lib when building bootloader #1854

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

cramertj
Copy link
Contributor

Fixes #1853

The bazel bootloader targets (e.g. @@pico-sdk~//src/rp2040/boot_stage2:boot_stage2_elf_actual) get built with link_extra_lib in their deps, so including them in the link_extra_lib list for other binaries causes a dependency cycle. This cycle should be broken by removing link_extra_lib dependencies when building bootloader targets.

Copy link
Contributor

@armandomontanez armandomontanez left a comment

Choose a reason for hiding this comment

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

LGTM, @kilograham this is ready to go.

@kilograham kilograham added this to the 2.0.1 milestone Aug 22, 2024
@kilograham kilograham merged commit 7dc10d7 into raspberrypi:develop Aug 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants