From bc96f75bcbed9d342c6fada434d8af1f6214c81b Mon Sep 17 00:00:00 2001 From: kslr Date: Fri, 19 Jun 2020 20:20:14 +0800 Subject: [PATCH] add armv5 --- main/targets.bzl | 15 +++++++++++++++ release/BUILD | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/main/targets.bzl b/main/targets.bzl index 8d5671dc..acff91a2 100644 --- a/main/targets.bzl +++ b/main/targets.bzl @@ -82,3 +82,18 @@ def gen_targets(matrix): name = bin_name + "_sig", base = ":" + bin_name, ) + + bin_name = "v2ray_" + os + "_" + arch + "_armv5" + foreign_go_binary( + name = bin_name, + pkg = pkg, + output = output+"_armv5", + os = os, + arch = arch, + arm = "5", + ) + + gpg_sign( + name = bin_name + "_sig", + base = ":" + bin_name, + ) \ No newline at end of file diff --git a/release/BUILD b/release/BUILD index b183cdbe..86566cc4 100644 --- a/release/BUILD +++ b/release/BUILD @@ -201,11 +201,13 @@ pkg_zip( "//infra/control/main:v2ctl_linux_arm_armv7_sig", "//infra/control/main:v2ctl_linux_arm_sig", "//main:v2ray_linux_arm", + "//main:v2ray_linux_arm_sig", + "//main:v2ray_linux_arm_armv5", + "//main:v2ray_linux_arm_armv5_sig", "//main:v2ray_linux_arm_armv6", "//main:v2ray_linux_arm_armv6_sig", "//main:v2ray_linux_arm_armv7", "//main:v2ray_linux_arm_armv7_sig", - "//main:v2ray_linux_arm_sig", ], out = "v2ray-linux-arm.zip", mappings = gen_mappings("linux", "arm"),