mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Added compile support for Arm v6
Support for older raspberry pis and Pi Zero
This commit is contained in:
		
							parent
							
								
									631f1fe907
								
							
						
					
					
						commit
						ace9568981
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -26,9 +26,10 @@ elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build
 | 
				
			||||||
elif [ $PKGARCH = "mipsel" ]; then GOARCH=mipsle GOOS=linux ./build
 | 
					elif [ $PKGARCH = "mipsel" ]; then GOARCH=mipsle GOOS=linux ./build
 | 
				
			||||||
elif [ $PKGARCH = "mips" ]; then GOARCH=mips64 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 = "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
 | 
					elif [ $PKGARCH = "arm64" ]; then GOARCH=arm64 GOOS=linux ./build
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  echo "Specify PKGARCH=amd64,i386,mips,mipsel,armhf,arm64"
 | 
					  echo "Specify PKGARCH=amd64,i386,mips,mipsel,armv6,armhf,arm64"
 | 
				
			||||||
  exit 1
 | 
					  exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue