blob: ea6ef8f71e8aaa312456f2dc531026d4af334ed5 [file] [log] [blame]
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -07001package(default_visibility = ["//visibility:public"])
2
3filegroup(
4 name = "gcc",
Lukas Geigerceb89912020-04-09 17:49:08 +01005 srcs = glob(["bin/*-gcc"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -07006)
7
8filegroup(
9 name = "ar",
Lukas Geigerceb89912020-04-09 17:49:08 +010010 srcs = glob(["bin/*-ar"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070011)
12
13filegroup(
14 name = "ld",
Lukas Geigerceb89912020-04-09 17:49:08 +010015 srcs = glob(["bin/*-ld"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070016)
17
18filegroup(
19 name = "nm",
Lukas Geigerceb89912020-04-09 17:49:08 +010020 srcs = glob(["bin/*-nm"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070021)
22
23filegroup(
24 name = "objcopy",
Lukas Geigerceb89912020-04-09 17:49:08 +010025 srcs = glob(["bin/*-objcopy"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070026)
27
28filegroup(
29 name = "objdump",
Lukas Geigerceb89912020-04-09 17:49:08 +010030 srcs = glob(["bin/*-objdump"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070031)
32
33filegroup(
34 name = "strip",
Lukas Geigerceb89912020-04-09 17:49:08 +010035 srcs = glob(["bin/*-strip"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070036)
37
38filegroup(
39 name = "as",
Lukas Geigerceb89912020-04-09 17:49:08 +010040 srcs = glob(["bin/*-as"]),
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070041)
42
43filegroup(
44 name = "compiler_pieces",
45 srcs = glob([
Ian Hua6b511122021-08-11 21:38:50 +010046 "arm-rpi-linux-gnueabihf/**",
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070047 "libexec/**",
Ian Hua6b511122021-08-11 21:38:50 +010048 "lib/gcc/arm-rpi-linux-gnueabihf/**",
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070049 "include/**",
50 ]),
51)
52
53filegroup(
Lukas Geigerb437c2b2020-04-09 17:55:14 +010054 name = "aarch64_compiler_pieces",
55 srcs = glob([
56 "aarch64-none-linux-gnu/**",
57 "libexec/**",
58 "lib/gcc/aarch64-none-linux-gnu/**",
59 "include/**",
60 ]),
61)
62
63filegroup(
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070064 name = "compiler_components",
65 srcs = [
66 ":ar",
67 ":as",
68 ":gcc",
69 ":ld",
70 ":nm",
71 ":objcopy",
72 ":objdump",
73 ":strip",
74 ],
75)