1package(default_visibility = ["//visibility:public"])
2
3filegroup(
4    name = "gcc",
5    srcs = [
6        "bin/arm-linux-gnueabihf-gcc",
7    ],
8)
9
10filegroup(
11    name = "ar",
12    srcs = [
13        "bin/arm-linux-gnueabihf-ar",
14    ],
15)
16
17filegroup(
18    name = "ld",
19    srcs = [
20        "bin/arm-linux-gnueabihf-ld",
21    ],
22)
23
24filegroup(
25    name = "nm",
26    srcs = [
27        "bin/arm-linux-gnueabihf-nm",
28    ],
29)
30
31filegroup(
32    name = "objcopy",
33    srcs = [
34        "bin/arm-linux-gnueabihf-objcopy",
35    ],
36)
37
38filegroup(
39    name = "objdump",
40    srcs = [
41        "bin/arm-linux-gnueabihf-objdump",
42    ],
43)
44
45filegroup(
46    name = "strip",
47    srcs = [
48        "bin/arm-linux-gnueabihf-strip",
49    ],
50)
51
52filegroup(
53    name = "as",
54    srcs = [
55        "bin/arm-linux-gnueabihf-as",
56    ],
57)
58
59filegroup(
60    name = "compiler_pieces",
61    srcs = glob([
62        "arm-linux-gnueabihf/**",
63        "libexec/**",
64        "lib/gcc/arm-linux-gnueabihf/**",
65        "include/**",
66    ]),
67)
68
69filegroup(
70    name = "compiler_components",
71    srcs = [
72        ":ar",
73        ":as",
74        ":gcc",
75        ":ld",
76        ":nm",
77        ":objcopy",
78        ":objdump",
79        ":strip",
80    ],
81)
82