File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/rp2_common/pico_btstack Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ cc_library(
2121 "//bazel/constraint:pico_bt_enable_mesh_enabled" : [":pico_btstack_mesh" ],
2222 "//conditions:default" : [],
2323 }),
24+ target_compatible_with = incompatible_with_config ("//bazel/constraint:pico_btstack_config_unset" ),
2425)
2526
2627# Prefer these aliases to directly referencing @btstack, as it's possible that
@@ -89,7 +90,7 @@ cc_library(
8990cc_library (
9091 name = "pico_btstack_stdin" ,
9192 srcs = ["btstack_stdin_pico.c" ],
92- target_compatible_with = compatible_with_pico_w (),
93+ target_compatible_with = compatible_with_pico_w () + incompatible_with_config ( "//bazel/constraint:pico_btstack_config_unset" ) ,
9394 deps = [
9495 "//bazel/config:PICO_BTSTACK_CONFIG" ,
9596 "//src/rp2_common:pico_platform" ,
Original file line number Diff line number Diff line change 11load("@rules_python//python:defs.bzl", "py_binary")
2- load("@pico-sdk//bazel:defs.bzl", "compatible_with_config")
2+ load("@pico-sdk//bazel:defs.bzl", "compatible_with_config", "incompatible_with_config" )
33
44package(default_visibility = ["//visibility:public"])
55
@@ -87,6 +87,7 @@ cc_library(
8787 "3rd-party/yxml/yxml.c",
8888 ],
8989 copts = _DISABLE_WARNINGS,
90+ target_compatible_with = incompatible_with_config("@pico-sdk//bazel/constraint:pico_btstack_config_unset"),
9091 deps = [":pico_btstack_base_headers"],
9192)
9293
You can’t perform that action at this time.
0 commit comments