Export linker scripts in the bazel build. (#1944)

* Export linker scripts in the bazel build.

Make the rp2040 and rp2350 linker scripts available in downstream
projects bazel builds.

* Move exports_files below the package declaration.
This commit is contained in:
Dave Roth 2024-09-27 21:50:22 -07:00 committed by GitHub
parent 0e5ef0f40f
commit 8c08f2b8ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,14 @@
package(default_visibility = ["//visibility:public"])
exports_files(
[
"memmap_blocked_ram.ld",
"memmap_copy_to_ram.ld",
"memmap_default.ld",
"memmap_no_flash.ld",
]
)
# It's possible to set linker scripts globally or on a per-binary basis.
#
# Setting globally:

View file

@ -1,5 +1,13 @@
package(default_visibility = ["//visibility:public"])
exports_files(
[
"memmap_copy_to_ram.ld",
"memmap_default.ld",
"memmap_no_flash.ld",
]
)
# It's possible to set linker scripts globally or on a per-binary basis.
#
# Setting globally: