mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-28 01:47:21 +01:00
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:
parent
0e5ef0f40f
commit
8c08f2b8ff
2 changed files with 17 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue