From ceb8991c52e912137d9bd197c7e17b58f8ba4831 Mon Sep 17 00:00:00 2001 From: Lukas Geiger Date: Thu, 9 Apr 2020 17:49:08 +0100 Subject: [PATCH] Simplify arm_compiler.BUILD --- arm_compiler.BUILD | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/arm_compiler.BUILD b/arm_compiler.BUILD index cffe3fac70d..b3e1b2f12c5 100644 --- a/arm_compiler.BUILD +++ b/arm_compiler.BUILD @@ -2,58 +2,42 @@ package(default_visibility = ["//visibility:public"]) filegroup( name = "gcc", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-gcc", - ], + srcs = glob(["bin/*-gcc"]), ) filegroup( name = "ar", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-ar", - ], + srcs = glob(["bin/*-ar"]), ) filegroup( name = "ld", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-ld", - ], + srcs = glob(["bin/*-ld"]), ) filegroup( name = "nm", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-nm", - ], + srcs = glob(["bin/*-nm"]), ) filegroup( name = "objcopy", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-objcopy", - ], + srcs = glob(["bin/*-objcopy"]), ) filegroup( name = "objdump", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-objdump", - ], + srcs = glob(["bin/*-objdump"]), ) filegroup( name = "strip", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-strip", - ], + srcs = glob(["bin/*-strip"]), ) filegroup( name = "as", - srcs = [ - "bin/arm-rpi-linux-gnueabihf-as", - ], + srcs = glob(["bin/*-as"]), ) filegroup(