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