package(default_visibility = ["//visibility:public"]) | |
cc_library( | |
name = "pico_int64_ops", | |
srcs = ["pico_int64_ops_aeabi.S"], | |
hdrs = ["include/pico/int64_ops.h"], | |
includes = ["include"], | |
linkopts = ["-Wl,--wrap=__aeabi_lmul"], | |
target_compatible_with = select({ | |
"//bazel/constraint:rp2": [], | |
"//conditions:default": ["@platforms//:incompatible"], | |
}), | |
deps = [ | |
"//src/common/pico_base", | |
"//src/rp2_common/pico_platform", | |
], | |
alwayslink = True, # Ensures the wrapped symbols are linked in. | |
) |