Skip to content

Commit 391ca61

Browse files
committed
Makefile: build ARM v5/v6/v7, drop high API mobile clients
1 parent f801ec7 commit 391ca61

1 file changed

Lines changed: 28 additions & 33 deletions

File tree

‎Makefile‎

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
# don't need to bother with make.
44

55
.PHONY: geth geth-cross evm all test travis-test-with-coverage xgo clean
6-
.PHONY: geth-linux geth-linux-arm geth-linux-386 geth-linux-amd64
6+
.PHONY: geth-linux geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-386 geth-linux-amd64
77
.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
88
.PHONY: geth-windows geth-windows-386 geth-windows-amd64
9-
.PHONY: geth-android geth-android-16 geth-android-21
10-
.PHONY: geth-ios geth-ios-5.0 geth-ios-8.1
9+
.PHONY: geth-android geth-ios
1110

1211
GOBIN = build/bin
1312

@@ -24,15 +23,10 @@ geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
2423
@echo "Full cross compilation done:"
2524
@ls -l $(GOBIN)/geth-*
2625

27-
geth-linux: xgo geth-linux-arm geth-linux-386 geth-linux-amd64
26+
geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm
2827
@echo "Linux cross compilation done:"
2928
@ls -l $(GOBIN)/geth-linux-*
3029

31-
geth-linux-arm: xgo
32-
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm -v $(shell build/flags.sh) ./cmd/geth
33-
@echo "Linux ARM cross compilation done:"
34-
@ls -l $(GOBIN)/geth-linux-* | grep arm
35-
3630
geth-linux-386: xgo
3731
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/386 -v $(shell build/flags.sh) ./cmd/geth
3832
@echo "Linux 386 cross compilation done:"
@@ -43,7 +37,26 @@ geth-linux-amd64: xgo
4337
@echo "Linux amd64 cross compilation done:"
4438
@ls -l $(GOBIN)/geth-linux-* | grep amd64
4539

46-
geth-darwin: xgo geth-darwin-386 geth-darwin-amd64
40+
geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7
41+
@echo "Linux ARM cross compilation done:"
42+
@ls -l $(GOBIN)/geth-linux-* | grep arm
43+
44+
geth-linux-arm-5: xgo
45+
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-5 -v $(shell build/flags.sh) ./cmd/geth
46+
@echo "Linux ARMv5 cross compilation done:"
47+
@ls -l $(GOBIN)/geth-linux-* | grep arm-5
48+
49+
geth-linux-arm-6: xgo
50+
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-6 -v $(shell build/flags.sh) ./cmd/geth
51+
@echo "Linux ARMv6 cross compilation done:"
52+
@ls -l $(GOBIN)/geth-linux-* | grep arm-6
53+
54+
geth-linux-arm-7: xgo
55+
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-7 -v $(shell build/flags.sh) ./cmd/geth
56+
@echo "Linux ARMv7 cross compilation done:"
57+
@ls -l $(GOBIN)/geth-linux-* | grep arm-7
58+
59+
geth-darwin: geth-darwin-386 geth-darwin-amd64
4760
@echo "Darwin cross compilation done:"
4861
@ls -l $(GOBIN)/geth-darwin-*
4962

@@ -57,7 +70,7 @@ geth-darwin-amd64: xgo
5770
@echo "Darwin amd64 cross compilation done:"
5871
@ls -l $(GOBIN)/geth-darwin-* | grep amd64
5972

60-
geth-windows: xgo geth-windows-386 geth-windows-amd64
73+
geth-windows: geth-windows-386 geth-windows-amd64
6174
@echo "Windows cross compilation done:"
6275
@ls -l $(GOBIN)/geth-windows-*
6376

@@ -71,34 +84,16 @@ geth-windows-amd64: xgo
7184
@echo "Windows amd64 cross compilation done:"
7285
@ls -l $(GOBIN)/geth-windows-* | grep amd64
7386

74-
geth-android: xgo geth-android-16 geth-android-21
87+
geth-android: xgo
88+
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android/* -v $(shell build/flags.sh) ./cmd/geth
7589
@echo "Android cross compilation done:"
7690
@ls -l $(GOBIN)/geth-android-*
7791

78-
geth-android-16: xgo
79-
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android-16/* -v $(shell build/flags.sh) ./cmd/geth
80-
@echo "Android 16 cross compilation done:"
81-
@ls -l $(GOBIN)/geth-android-16-*
82-
83-
geth-android-21: xgo
84-
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android-21/* -v $(shell build/flags.sh) ./cmd/geth
85-
@echo "Android 21 cross compilation done:"
86-
@ls -l $(GOBIN)/geth-android-21-*
87-
88-
geth-ios: xgo geth-ios-5.0 geth-ios-8.1
92+
geth-ios: xgo
93+
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios/* -v $(shell build/flags.sh) ./cmd/geth
8994
@echo "iOS cross compilation done:"
9095
@ls -l $(GOBIN)/geth-ios-*
9196

92-
geth-ios-5.0:
93-
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios-5.0/* -v $(shell build/flags.sh) ./cmd/geth
94-
@echo "iOS 5.0 cross compilation done:"
95-
@ls -l $(GOBIN)/geth-ios-5.0-*
96-
97-
geth-ios-8.1:
98-
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios-8.1/* -v $(shell build/flags.sh) ./cmd/geth
99-
@echo "iOS 8.1 cross compilation done:"
100-
@ls -l $(GOBIN)/geth-ios-8.1-*
101-
10297
evm:
10398
build/env.sh $(GOROOT)/bin/go install -v $(shell build/flags.sh) ./cmd/evm
10499
@echo "Done building."

0 commit comments

Comments
 (0)