From ace956898193e50e10a50a9f593b4e792ad3ce04 Mon Sep 17 00:00:00 2001 From: darkdrgn2k Date: Tue, 18 Dec 2018 11:36:15 -0500 Subject: [PATCH] Added compile support for Arm v6 Support for older raspberry pis and Pi Zero --- contrib/deb/generate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index ed2c1c96..aea9cd91 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -26,9 +26,10 @@ elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build elif [ $PKGARCH = "mipsel" ]; then GOARCH=mipsle GOOS=linux ./build elif [ $PKGARCH = "mips" ]; then GOARCH=mips64 GOOS=linux ./build elif [ $PKGARCH = "armhf" ]; then GOARCH=arm GOOS=linux GOARM=7 ./build +elif [ $PKGARCH = "armv6" ]; then export PKGARCH="armhf"; GOARCH=arm GOOS=linux GOARM=6 ./build; elif [ $PKGARCH = "arm64" ]; then GOARCH=arm64 GOOS=linux ./build else - echo "Specify PKGARCH=amd64,i386,mips,mipsel,armhf,arm64" + echo "Specify PKGARCH=amd64,i386,mips,mipsel,armv6,armhf,arm64" exit 1 fi