From eb23f88a3ce52608b8b0177f6a98095a6ded7163 Mon Sep 17 00:00:00 2001 From: exepirit Date: Sat, 15 Jan 2022 17:57:36 +0700 Subject: [PATCH] build: support armlf architecture --- contrib/deb/generate.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 26627db..d7f05dc 100755 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -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 \ No newline at end of file +rm -rf /tmp/$PKGNAME