From c579a6bdb9e6f02fb0e387472a7377f228cef342 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 4 Feb 2019 13:50:13 -0800 Subject: [PATCH] Add linux mipsle packages (#5234) --- scripts/build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index efe9910ec..58b684f82 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -85,7 +85,7 @@ targets = { supported_builds = { "windows": [ "amd64", "i386" ], - "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x"], + "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel"], "freebsd": [ "amd64", "i386" ] } @@ -455,6 +455,8 @@ def build(version=None, goarch = "arm64" elif "arm" in arch: goarch = "arm" + elif arch == "mipsel": + goarch = "mipsle" build_command += "GOOS={} GOARCH={} ".format(platform, goarch) if "arm" in arch: @@ -569,6 +571,8 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static= shutil.copy(fr, to) for package_type in supported_packages[platform]: + if package_type == "rpm" and arch == "mipsel": + continue # Package the directory structure for each package type for the platform logging.debug("Packaging directory '{}' as '{}'.".format(build_root, package_type)) name = pkg_name