mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-16 23:43:15 +00:00
Fixup spellling mistakes, and comments
This commit is contained in:
parent
0bbbe6d19a
commit
c7b4c9b88a
@ -300,18 +300,20 @@ label_flag(
|
||||
name = "PICO_MBEDTLS_CONFIG",
|
||||
build_setting_default = "//bazel:empty_cc_lib",
|
||||
)
|
||||
|
||||
# PICO_BAZEL_CONFIG: PICO_COMPILATION_NO_OPT_ARGS, Makes the opt compilation mode a no-op so custom optimization arguments can be injected via the --copt flag instead, type=bool, default=0, group=build
|
||||
bool_flag(
|
||||
name = "PICO_COMPILATION_NO_OPT_ARGS",
|
||||
build_setting_default = False,
|
||||
)
|
||||
# PICO_BAZEL_CONFIG: PICO_COMPILATION_NO_DEBUG_ARGS, Makes the debug compilation mode a no-op so custom optimization arguments can be injected via the --copt flag instead, type=bool, default=0, group=build
|
||||
|
||||
# PICO_BAZEL_CONFIG: PICO_COMPILATION_NO_DEBUG_ARGS, Makes the debug compilation mode a no-op so custom debug arguments can be injected via the --copt flag instead, type=bool, default=0, group=build
|
||||
bool_flag(
|
||||
name = "PICO_COMPILATION_NO_DEBUG_ARGS",
|
||||
build_setting_default = False,
|
||||
)
|
||||
|
||||
# PICO_BAZEL_CONFIG: PICO_COMPILATION_NO_FASTBUILD_ARGS, Makes the fastbuild compilation mode a no-op so custom optimization arguments can be injected via the --copt flag instead, type=bool, default=0, group=build
|
||||
# PICO_BAZEL_CONFIG: PICO_COMPILATION_NO_FASTBUILD_ARGS, Makes the fastbuild compilation mode a no-op so custom fastbuild arguments can be injected via the --copt flag instead, type=bool, default=0, group=build
|
||||
bool_flag(
|
||||
name = "PICO_COMPILATION_NO_FASTBUILD_ARGS",
|
||||
build_setting_default = False,
|
||||
|
@ -260,16 +260,16 @@ label_flag_matches(
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "pico_compiliation_no_opt_args_set",
|
||||
name = "pico_compilation_no_opt_args_set",
|
||||
flag_values = {"//bazel/config:PICO_COMPILATION_NO_OPT_ARGS": "True"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "pico_compiliation_no_debug_args_set",
|
||||
name = "pico_compilation_no_debug_args_set",
|
||||
flag_values = {"//bazel/config:PICO_COMPILATION_NO_DEBUG_ARGS": "True"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "pico_compiliation_no_fastbuild_args_set",
|
||||
name = "pico_compilation_no_fastbuild_args_set",
|
||||
flag_values = {"//bazel/config:PICO_COMPILATION_NO_FASBUILD_ARGS": "True"},
|
||||
)
|
||||
|
@ -95,7 +95,7 @@ cc_args(
|
||||
"@rules_cc//cc/toolchains/actions:link_actions",
|
||||
],
|
||||
args = select({
|
||||
"//bazel/constraint:pico_compiliation_no_debug_args_set": [],
|
||||
"//bazel/constraint:pico_compilation_no_debug_args_set": [],
|
||||
"//conditions:default": [
|
||||
"-Og",
|
||||
"-g3",
|
||||
@ -110,7 +110,7 @@ cc_args(
|
||||
"@rules_cc//cc/toolchains/actions:link_actions",
|
||||
],
|
||||
args = select({
|
||||
"//bazel/constraint:pico_compiliation_no_opt_args_set": [],
|
||||
"//bazel/constraint:pico_compilation_no_opt_args_set": [],
|
||||
"//conditions:default": [
|
||||
"-O2",
|
||||
"-DNDEBUG",
|
||||
@ -125,7 +125,7 @@ cc_args(
|
||||
"@rules_cc//cc/toolchains/actions:link_actions",
|
||||
],
|
||||
args = select({
|
||||
"//bazel/constraint:pico_compiliation_no_fastbuild_args_set": [],
|
||||
"//bazel/constraint:pico_compilation_no_fastbuild_args_set": [],
|
||||
# The conditions default are kept as nothing here, The bazel docs default are -gmlt -Wl,-S.
|
||||
"//conditions:default": [],
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user