mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-14 21:19:43 +01:00
[Bazel] Add bzl_library targets
This commit is contained in:
parent
8fcd44a171
commit
3bdf16a1de
2 changed files with 19 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ module(
|
|||
)
|
||||
|
||||
bazel_dep(name = "platforms", version = "0.0.9")
|
||||
bazel_dep(name = "bazel_lib", version = "3.0.0")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
||||
bazel_dep(name = "rules_python", version = "0.36.0")
|
||||
bazel_dep(name = "picotool", version = "2.2.0")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
load("@bazel_lib//:bzl_library.bzl", "bzl_library")
|
||||
load("@rules_cc//cc/toolchains:args.bzl", "cc_args")
|
||||
load("@rules_cc//cc/toolchains:args_list.bzl", "cc_args_list")
|
||||
load("@rules_cc//cc/toolchains:feature.bzl", "cc_feature")
|
||||
|
|
@ -331,3 +332,20 @@ _HOST_CPU_CONSTRAINTS = {
|
|||
}),
|
||||
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
|
||||
) for host_os, host_cpu in HOSTS]
|
||||
|
||||
bzl_library(
|
||||
name = "configurable_feature",
|
||||
srcs = ["configurable_feature.bzl"],
|
||||
deps = [
|
||||
"@rules_cc//cc/toolchains:toolchain_rules",
|
||||
],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "objcopy",
|
||||
srcs = ["objcopy.bzl"],
|
||||
deps = [
|
||||
"@bazel_tools//tools/build_defs/cc:action_names",
|
||||
"@rules_cc//cc:find_cc_toolchain_bzl",
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue