You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.1 KiB
76 lines
1.1 KiB
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "gcc",
|
|
srcs = glob(["bin/*-gcc"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "ar",
|
|
srcs = glob(["bin/*-ar"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "ld",
|
|
srcs = glob(["bin/*-ld"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "nm",
|
|
srcs = glob(["bin/*-nm"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "objcopy",
|
|
srcs = glob(["bin/*-objcopy"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "objdump",
|
|
srcs = glob(["bin/*-objdump"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "strip",
|
|
srcs = glob(["bin/*-strip"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "as",
|
|
srcs = glob(["bin/*-as"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "compiler_pieces",
|
|
srcs = glob([
|
|
"arm-linux-gnueabihf/**",
|
|
"libexec/**",
|
|
"lib/gcc/arm-linux-gnueabihf/**",
|
|
"include/**",
|
|
]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "aarch64_compiler_pieces",
|
|
srcs = glob([
|
|
"aarch64-none-linux-gnu/**",
|
|
"libexec/**",
|
|
"lib/gcc/aarch64-none-linux-gnu/**",
|
|
"include/**",
|
|
]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "compiler_components",
|
|
srcs = [
|
|
":ar",
|
|
":as",
|
|
":gcc",
|
|
":ld",
|
|
":nm",
|
|
":objcopy",
|
|
":objdump",
|
|
":strip",
|
|
],
|
|
)
|