Skip to content

bazel: including bootloader targets in link_extra_lib results in a dependency cycle #1853

@cramertj

Description

@cramertj

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.

PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions