summarylogtreecommitdiffstats
path: root/arm-support.patch
blob: 909536b82ca47f903be1f0d89396fad69c0240bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/Makefile	2018-10-10 09:44:52.000000000 +0200
+++ b/Makefile	2018-10-11 14:28:21.915080396 +0200
@@ -346,6 +346,16 @@
 release/%-amd64: GOARCH=amd64
 release/linux-%: GOOS=linux
 
+release/linux-arm: GOARCH=arm
+release/linux-arm: DOCKER_ARCH=arm
+release/linux-arm: GO_TAGS+= nopkcs11
+release/linux-arm: $(patsubst %,release/linux-arm/bin/%, $(RELEASE_PKGS)) release/linux-arm/install
+
+release/linux-arm64: GOARCH=arm64
+release/linux-arm64: DOCKER_ARCH=arm64
+release/linux-arm64: GO_TAGS+= nopkcs11
+release/linux-arm64: $(patsubst %,release/linux-arm64/bin/%, $(RELEASE_PKGS)) release/linux-arm/install
+
 release/linux-s390x: GOARCH=s390x
 release/linux-s390x: $(patsubst %,release/linux-s390x/bin/%, $(RELEASE_PKGS)) release/linux-s390x/install
 
@@ -451,6 +461,8 @@
 	-@rm -rf release/windows-amd64/hyperledger-fabric-windows-amd64.$(PROJECT_VERSION).tar.gz
 	-@rm -rf release/darwin-amd64/hyperledger-fabric-darwin-amd64.$(PROJECT_VERSION).tar.gz
 	-@rm -rf release/linux-amd64/hyperledger-fabric-linux-amd64.$(PROJECT_VERSION).tar.gz
+	-@rm -rf release/linux-arm/hyperledger-fabric-linux-arm.$(PROJECT_VERSION).tar.gz
+	-@rm -rf release/linux-arm64/hyperledger-fabric-linux-arm64.$(PROJECT_VERSION).tar.gz
 	-@rm -rf release/linux-s390x/hyperledger-fabric-linux-s390x.$(PROJECT_VERSION).tar.gz
 
 %-release-clean: