aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-12-04 02:33:24 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-12-04 02:33:24 +0800
commit9acec62cf8f26eb6560e6fb35c695725a0d67bfd (patch)
treef2f36f7a2b2b5dc2bfb7737861608a3e4c91e1b4 /Makefile
parent3eebeae363c4367e9892df99f6269c6a17a11f3f (diff)
downloaddexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar.gz
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar.bz2
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar.lz
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar.xz
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.tar.zst
dexon-9acec62cf8f26eb6560e6fb35c695725a0d67bfd.zip
Makefile: support 64bit ARM iOS cross builds
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 297f3ac00..76cb819b6 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@
.PHONY: geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
.PHONY: geth-windows geth-windows-386 geth-windows-amd64
-.PHONY: geth-android geth-ios
+.PHONY: geth-android
+.PHONY: geth-ios geth-ios-arm-7 geth-ios-arm64
GOBIN = build/bin
@@ -95,11 +96,20 @@ geth-android: xgo
@echo "Android cross compilation done:"
@ls -l $(GOBIN)/geth-android-*
-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
+geth-ios: geth-ios-arm-7 geth-ios-arm64
@echo "iOS cross compilation done:"
@ls -l $(GOBIN)/geth-ios-*
+geth-ios-arm-7: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios/arm-7 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "iOS ARMv7 cross compilation done:"
+ @ls -l $(GOBIN)/geth-ios-* | grep arm-7
+
+geth-ios-arm64: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios-7.0/arm64 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "iOS ARM64 cross compilation done:"
+ @ls -l $(GOBIN)/geth-ios-* | grep arm64
+
evm:
build/env.sh $(GOROOT)/bin/go install -v $(shell build/flags.sh) ./cmd/evm
@echo "Done building."