Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | filegroup( |
| 4 | name = "gcc", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 5 | srcs = glob(["bin/*-gcc"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 6 | ) |
| 7 | |
| 8 | filegroup( |
| 9 | name = "ar", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 10 | srcs = glob(["bin/*-ar"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 11 | ) |
| 12 | |
| 13 | filegroup( |
| 14 | name = "ld", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 15 | srcs = glob(["bin/*-ld"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 16 | ) |
| 17 | |
| 18 | filegroup( |
| 19 | name = "nm", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 20 | srcs = glob(["bin/*-nm"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 21 | ) |
| 22 | |
| 23 | filegroup( |
| 24 | name = "objcopy", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 25 | srcs = glob(["bin/*-objcopy"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 26 | ) |
| 27 | |
| 28 | filegroup( |
| 29 | name = "objdump", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 30 | srcs = glob(["bin/*-objdump"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 31 | ) |
| 32 | |
| 33 | filegroup( |
| 34 | name = "strip", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 35 | srcs = glob(["bin/*-strip"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 36 | ) |
| 37 | |
| 38 | filegroup( |
| 39 | name = "as", |
Lukas Geiger | ceb8991 | 2020-04-09 17:49:08 +0100 | [diff] [blame] | 40 | srcs = glob(["bin/*-as"]), |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 41 | ) |
| 42 | |
| 43 | filegroup( |
| 44 | name = "compiler_pieces", |
| 45 | srcs = glob([ |
Ian Hua | 6b51112 | 2021-08-11 21:38:50 +0100 | [diff] [blame] | 46 | "arm-rpi-linux-gnueabihf/**", |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 47 | "libexec/**", |
Ian Hua | 6b51112 | 2021-08-11 21:38:50 +0100 | [diff] [blame] | 48 | "lib/gcc/arm-rpi-linux-gnueabihf/**", |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 49 | "include/**", |
| 50 | ]), |
| 51 | ) |
| 52 | |
| 53 | filegroup( |
Lukas Geiger | b437c2b | 2020-04-09 17:55:14 +0100 | [diff] [blame] | 54 | 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 | |
| 63 | filegroup( |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 64 | name = "compiler_components", |
| 65 | srcs = [ |
| 66 | ":ar", |
| 67 | ":as", |
| 68 | ":gcc", |
| 69 | ":ld", |
| 70 | ":nm", |
| 71 | ":objcopy", |
| 72 | ":objdump", |
| 73 | ":strip", |
| 74 | ], |
| 75 | ) |