Add linux mipsle packages (#5234)
This commit is contained in:
parent
96f99a7a79
commit
c579a6bdb9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue