-
Notifications
You must be signed in to change notification settings - Fork 13
/
arm_compiler.BUILD
75 lines (64 loc) · 1.15 KB
/
arm_compiler.BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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-rpi-linux-gnueabihf/**",
"libexec/**",
"lib/gcc/arm-rpi-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",
],
)