build: support armlf architecture

pull/206/head
exepirit 2 years ago
parent 5b420af312
commit eb23f88a3c
No known key found for this signature in database
GPG Key ID: 7F96A965465257B9

@ -35,9 +35,10 @@ elif [ $PKGARCH = "i686" ]; then TARGET='i686-unknown-linux-musl'
elif [ $PKGARCH = "mipsel" ]; then TARGET='mipsel-unknown-linux-musl'
elif [ $PKGARCH = "mips" ]; then TARGET='mips-unknown-linux-musl'
elif [ $PKGARCH = "armhf" ]; then TARGET='armv7-unknown-linux-musleabihf'
elif [ $PKGARCH = "armlf" ]; then TARGET='arm-unknown-linux-musleabi'
elif [ $PKGARCH = "arm64" ]; then TARGET='aarch64-unknown-linux-musl'
else
echo "Specify PKGARCH=amd64,i686,mips,mipsel,armhf,arm64"
echo "Specify PKGARCH=amd64,i686,mips,mipsel,armhf,armlf,arm64"
exit 1
fi
@ -142,4 +143,4 @@ ar -r $PKGFILE \
/tmp/$PKGNAME/control.tar.gz \
/tmp/$PKGNAME/data.tar.gz
rm -rf /tmp/$PKGNAME
rm -rf /tmp/$PKGNAME

Loading…
Cancel
Save