Add mips(el)2 musl builds

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2023-06-24 17:04:40 +02:00
parent 46602610df
commit 5e2eacd985
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A

View file

@ -12,11 +12,13 @@ SETS_O32="
mips2_o32_systemd_mu
mips2_softfloat_o32_openrc
mips2_softfloat_o32_systemd
mips2_o32_musl
mipsel2_o32_openrc
mipsel2_o32_systemd
mipsel2_o32_systemd_mu
mipsel2_softfloat_o32_openrc
mipsel2_softfloat_o32_systemd
mipsel2_o32_musl
mipsel3_o32_openrc
mipsel3_o32_systemd
mipsel3_o32_systemd_mu
@ -57,6 +59,8 @@ SET_mips2_o32_systemd_mu_SPECS="stage1-mips2-o32-systemd-mu.spec stage3-mips2-o3
SET_mips2_softfloat_o32_openrc_SPECS="stage1-mips2_softfloat-o32-openrc.spec stage3-mips2_softfloat-o32-openrc.spec"
SET_mips2_softfloat_o32_systemd_SPECS="stage1-mips2_softfloat-o32-systemd.spec stage3-mips2_softfloat-o32-systemd.spec"
SET_mips2_o32_musl_SPECS="stage1-mips2-o32-musl.spec stage3-mips2-o32-musl.spec"
SET_mipsel2_o32_openrc_SPECS="stage1-mipsel2-o32-openrc.spec stage3-mipsel2-o32-openrc.spec"
SET_mipsel2_o32_systemd_SPECS="stage1-mipsel2-o32-systemd.spec stage3-mipsel2-o32-systemd.spec"
SET_mipsel2_o32_systemd_mu_SPECS="stage1-mipsel2-o32-systemd-mu.spec stage3-mipsel2-o32-systemd-mu.spec"
@ -64,6 +68,8 @@ SET_mipsel2_o32_systemd_mu_SPECS="stage1-mipsel2-o32-systemd-mu.spec stage3-mips
SET_mipsel2_softfloat_o32_openrc_SPECS="stage1-mipsel2_softfloat-o32-openrc.spec stage3-mipsel2_softfloat-o32-openrc.spec"
SET_mipsel2_softfloat_o32_systemd_SPECS="stage1-mipsel2_softfloat-o32-systemd.spec stage3-mipsel2_softfloat-o32-systemd.spec"
SET_mipsel2_o32_musl_SPECS="stage1-mipsel2-o32-musl.spec stage3-mipsel2-o32-musl.spec"
SET_mipsel3_o32_openrc_SPECS="stage1-mipsel3-o32-openrc.spec stage3-mipsel3-o32-openrc.spec"
SET_mipsel3_o32_systemd_SPECS="stage1-mipsel3-o32-systemd.spec stage3-mipsel3-o32-systemd.spec"
SET_mipsel3_o32_systemd_mu_SPECS="stage1-mipsel3-o32-systemd-mu.spec stage3-mipsel3-o32-systemd-mu.spec"
@ -214,4 +220,15 @@ post_build() {
;;
esac
popd >/dev/null
pushd "${BUILD_SRCDIR_BASE}/builds/musl" >/dev/null
case ${spec} in
stage3-mips2-o32-musl.spec)
upload stage3-mips2-musl-${TIMESTAMP}.tar.xz*
;;
stage3-mipsel2-o32-musl.spec)
upload stage3-mipsel2-musl-${TIMESTAMP}.tar.xz*
;;
esac
popd >/dev/null
}