aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-12-01 18:40:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-12-01 18:40:55 +0800
commit391ca61678418a15f14909b611458fdc0894bbe2 (patch)
tree92790a5c320b4a6c2015ce2a91aff840295bc953 /Makefile
parentf801ec78cef4e3338c4e4ad19253ede2a0dd0dcb (diff)
downloadgo-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar.gz
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar.bz2
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar.lz
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar.xz
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.tar.zst
go-tangerine-391ca61678418a15f14909b611458fdc0894bbe2.zip
Makefile: build ARM v5/v6/v7, drop high API mobile clients
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile61
1 files changed, 28 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index 1f9bf0db8..12802647e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,10 @@
# don't need to bother with make.
.PHONY: geth geth-cross evm all test travis-test-with-coverage xgo clean
-.PHONY: geth-linux geth-linux-arm geth-linux-386 geth-linux-amd64
+.PHONY: geth-linux geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-386 geth-linux-amd64
.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
.PHONY: geth-windows geth-windows-386 geth-windows-amd64
-.PHONY: geth-android geth-android-16 geth-android-21
-.PHONY: geth-ios geth-ios-5.0 geth-ios-8.1
+.PHONY: geth-android geth-ios
GOBIN = build/bin
@@ -24,15 +23,10 @@ geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
@echo "Full cross compilation done:"
@ls -l $(GOBIN)/geth-*
-geth-linux: xgo geth-linux-arm geth-linux-386 geth-linux-amd64
+geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm
@echo "Linux cross compilation done:"
@ls -l $(GOBIN)/geth-linux-*
-geth-linux-arm: xgo
- build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm -v $(shell build/flags.sh) ./cmd/geth
- @echo "Linux ARM cross compilation done:"
- @ls -l $(GOBIN)/geth-linux-* | grep arm
-
geth-linux-386: xgo
build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/386 -v $(shell build/flags.sh) ./cmd/geth
@echo "Linux 386 cross compilation done:"
@@ -43,7 +37,26 @@ geth-linux-amd64: xgo
@echo "Linux amd64 cross compilation done:"
@ls -l $(GOBIN)/geth-linux-* | grep amd64
-geth-darwin: xgo geth-darwin-386 geth-darwin-amd64
+geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7
+ @echo "Linux ARM cross compilation done:"
+ @ls -l $(GOBIN)/geth-linux-* | grep arm
+
+geth-linux-arm-5: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-5 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "Linux ARMv5 cross compilation done:"
+ @ls -l $(GOBIN)/geth-linux-* | grep arm-5
+
+geth-linux-arm-6: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-6 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "Linux ARMv6 cross compilation done:"
+ @ls -l $(GOBIN)/geth-linux-* | grep arm-6
+
+geth-linux-arm-7: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm-7 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "Linux ARMv7 cross compilation done:"
+ @ls -l $(GOBIN)/geth-linux-* | grep arm-7
+
+geth-darwin: geth-darwin-386 geth-darwin-amd64
@echo "Darwin cross compilation done:"
@ls -l $(GOBIN)/geth-darwin-*
@@ -57,7 +70,7 @@ geth-darwin-amd64: xgo
@echo "Darwin amd64 cross compilation done:"
@ls -l $(GOBIN)/geth-darwin-* | grep amd64
-geth-windows: xgo geth-windows-386 geth-windows-amd64
+geth-windows: geth-windows-386 geth-windows-amd64
@echo "Windows cross compilation done:"
@ls -l $(GOBIN)/geth-windows-*
@@ -71,34 +84,16 @@ geth-windows-amd64: xgo
@echo "Windows amd64 cross compilation done:"
@ls -l $(GOBIN)/geth-windows-* | grep amd64
-geth-android: xgo geth-android-16 geth-android-21
+geth-android: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android/* -v $(shell build/flags.sh) ./cmd/geth
@echo "Android cross compilation done:"
@ls -l $(GOBIN)/geth-android-*
-geth-android-16: xgo
- build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android-16/* -v $(shell build/flags.sh) ./cmd/geth
- @echo "Android 16 cross compilation done:"
- @ls -l $(GOBIN)/geth-android-16-*
-
-geth-android-21: xgo
- build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=android-21/* -v $(shell build/flags.sh) ./cmd/geth
- @echo "Android 21 cross compilation done:"
- @ls -l $(GOBIN)/geth-android-21-*
-
-geth-ios: xgo geth-ios-5.0 geth-ios-8.1
+geth-ios: xgo
+ 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
@echo "iOS cross compilation done:"
@ls -l $(GOBIN)/geth-ios-*
-geth-ios-5.0:
- 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
- @echo "iOS 5.0 cross compilation done:"
- @ls -l $(GOBIN)/geth-ios-5.0-*
-
-geth-ios-8.1:
- 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
- @echo "iOS 8.1 cross compilation done:"
- @ls -l $(GOBIN)/geth-ios-8.1-*
-
evm:
build/env.sh $(GOROOT)/bin/go install -v $(shell build/flags.sh) ./cmd/evm
@echo "Done building."