Update Makefile
This commit is contained in:
parent
12302ba1bf
commit
377a9a8d27
4
Makefile
4
Makefile
|
@ -63,6 +63,8 @@ else ifeq ($(LOCAL_ARCH),arm64)
|
||||||
TARGET_ARCH ?= arm64
|
TARGET_ARCH ?= arm64
|
||||||
else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv)
|
else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv)
|
||||||
TARGET_ARCH ?= arm
|
TARGET_ARCH ?= arm
|
||||||
|
else ifeq ($(LOCAL_ARCH),s390x)
|
||||||
|
TARGET_ARCH ?= s390x
|
||||||
else
|
else
|
||||||
$(error This system's architecture $(LOCAL_ARCH) isn't supported)
|
$(error This system's architecture $(LOCAL_ARCH) isn't supported)
|
||||||
endif
|
endif
|
||||||
|
@ -291,4 +293,4 @@ vet:
|
||||||
|
|
||||||
.PHONY: goimports
|
.PHONY: goimports
|
||||||
goimports:
|
goimports:
|
||||||
for d in $$(go list -mod=readonly -f '{{.Dir}}' -a ./... | fgrep -v tunnelrpc) ; do goimports -format-only -local github.com/cloudflare/cloudflared -w $$d ; done
|
for d in $$(go list -mod=readonly -f '{{.Dir}}' -a ./... | fgrep -v tunnelrpc) ; do goimports -format-only -local github.com/cloudflare/cloudflared -w $$d ; done
|
||||||
|
|
Loading…
Reference in New Issue