77.PHONY : geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
88.PHONY : geth-darwin geth-darwin-386 geth-darwin-amd64
99.PHONY : geth-windows geth-windows-386 geth-windows-amd64
10- .PHONY : geth-android
11- .PHONY : geth-ios geth-ios-arm-7 geth-ios-arm64
10+ .PHONY : geth-android geth-ios geth-ios-sim
1211
1312GOBIN = build/bin
14-
15- MODE ?= default
1613GO ?= latest
1714
1815geth :
@@ -29,12 +26,12 @@ geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm
2926 @ls -l $(GOBIN ) /geth-linux-*
3027
3128geth-linux-386 : xgo
32- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/386 -v $(shell build/flags.sh) ./cmd/geth
29+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/386 -v $(shell build/flags.sh) ./cmd/geth
3330 @echo " Linux 386 cross compilation done:"
3431 @ls -l $(GOBIN ) /geth-linux-* | grep 386
3532
3633geth-linux-amd64 : xgo
37- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/amd64 -v $(shell build/flags.sh) ./cmd/geth
34+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/amd64 -v $(shell build/flags.sh) ./cmd/geth
3835 @echo " Linux amd64 cross compilation done:"
3936 @ls -l $(GOBIN ) /geth-linux-* | grep amd64
4037
@@ -43,22 +40,22 @@ geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-ar
4340 @ls -l $(GOBIN ) /geth-linux-* | grep arm
4441
4542geth-linux-arm-5 : xgo
46- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/arm-5 -v $(shell build/flags.sh) ./cmd/geth
43+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-5 -v $(shell build/flags.sh) ./cmd/geth
4744 @echo " Linux ARMv5 cross compilation done:"
4845 @ls -l $(GOBIN ) /geth-linux-* | grep arm-5
4946
5047geth-linux-arm-6 : xgo
51- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/arm-6 -v $(shell build/flags.sh) ./cmd/geth
48+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-6 -v $(shell build/flags.sh) ./cmd/geth
5249 @echo " Linux ARMv6 cross compilation done:"
5350 @ls -l $(GOBIN ) /geth-linux-* | grep arm-6
5451
5552geth-linux-arm-7 : xgo
56- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/arm-7 -v $(shell build/flags.sh) ./cmd/geth
53+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-7 -v $(shell build/flags.sh) ./cmd/geth
5754 @echo " Linux ARMv7 cross compilation done:"
5855 @ls -l $(GOBIN ) /geth-linux-* | grep arm-7
5956
6057geth-linux-arm64 : xgo
61- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=linux/arm64 -v $(shell build/flags.sh) ./cmd/geth
58+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm64 -v $(shell build/flags.sh) ./cmd/geth
6259 @echo " Linux ARM64 cross compilation done:"
6360 @ls -l $(GOBIN ) /geth-linux-* | grep arm64
6461
@@ -67,12 +64,12 @@ geth-darwin: geth-darwin-386 geth-darwin-amd64
6764 @ls -l $(GOBIN ) /geth-darwin-*
6865
6966geth-darwin-386 : xgo
70- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=darwin/386 -v $(shell build/flags.sh) ./cmd/geth
67+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=darwin/386 -v $(shell build/flags.sh) ./cmd/geth
7168 @echo " Darwin 386 cross compilation done:"
7269 @ls -l $(GOBIN ) /geth-darwin-* | grep 386
7370
7471geth-darwin-amd64 : xgo
75- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=darwin/amd64 -v $(shell build/flags.sh) ./cmd/geth
72+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=darwin/amd64 -v $(shell build/flags.sh) ./cmd/geth
7673 @echo " Darwin amd64 cross compilation done:"
7774 @ls -l $(GOBIN ) /geth-darwin-* | grep amd64
7875
@@ -81,33 +78,29 @@ geth-windows: geth-windows-386 geth-windows-amd64
8178 @ls -l $(GOBIN ) /geth-windows-*
8279
8380geth-windows-386 : xgo
84- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=windows/386 -v $(shell build/flags.sh) ./cmd/geth
81+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=windows/386 -v $(shell build/flags.sh) ./cmd/geth
8582 @echo " Windows 386 cross compilation done:"
8683 @ls -l $(GOBIN ) /geth-windows-* | grep 386
8784
8885geth-windows-amd64 : xgo
89- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=windows/amd64 -v $(shell build/flags.sh) ./cmd/geth
86+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=windows/amd64 -v $(shell build/flags.sh) ./cmd/geth
9087 @echo " Windows amd64 cross compilation done:"
9188 @ls -l $(GOBIN ) /geth-windows-* | grep amd64
9289
9390geth-android : xgo
94- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode= $( MODE ) -- dest=$(GOBIN ) --targets=android/* -v $(shell build/flags.sh) ./cmd/geth
91+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=android/* -v $(shell build/flags.sh) ./cmd/geth
9592 @echo " Android cross compilation done:"
9693 @ls -l $(GOBIN ) /geth-android-*
9794
98- geth-ios : geth-ios-arm-7 geth-ios-arm64
99- @echo " iOS cross compilation done:"
95+ geth-ios : xgo
96+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=ios-7.0/* -v $(shell build/flags.sh) ./cmd/geth
97+ @echo " iOS framework cross compilation done:"
10098 @ls -l $(GOBIN ) /geth-ios-*
10199
102- geth-ios-arm-7 : xgo
103- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode=$(MODE ) --dest=$(GOBIN ) --targets=ios/arm-7 -v $(shell build/flags.sh) ./cmd/geth
104- @echo " iOS ARMv7 cross compilation done:"
105- @ls -l $(GOBIN ) /geth-ios-* | grep arm-7
106-
107- geth-ios-arm64 : xgo
108- build/env.sh $(GOBIN ) /xgo --go=$(GO ) --buildmode=$(MODE ) --dest=$(GOBIN ) --targets=ios-7.0/arm64 -v $(shell build/flags.sh) ./cmd/geth
109- @echo " iOS ARM64 cross compilation done:"
110- @ls -l $(GOBIN ) /geth-ios-* | grep arm64
100+ geth-ios-sim : xgo
101+ build/env.sh $(GOBIN ) /xgo --go=$(GO ) --dest=$(GOBIN ) --targets=ios-7.0/amd64 -v $(shell build/flags.sh) ./cmd/geth
102+ @echo " iOS framework simulator-only cross compilation done:"
103+ @ls -l $(GOBIN ) /geth-ios-*
111104
112105evm :
113106 build/env.sh $(GOROOT ) /bin/go install -v $(shell build/flags.sh) ./cmd/evm
0 commit comments