make: add ability to skip go version check

Add the ability to skip checking the go version, by passing to make the
variable SKIP_GO_VERSION_CHECK=1

Fixes: #916

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
Marco Vedovati 2018-11-16 17:32:22 +01:00
parent c0551de093
commit ab43e2accb

View File

@ -14,11 +14,14 @@ done)
GOARCH=$(shell go env GOARCH)
HOST_ARCH=$(shell arch)
SKIP_GO_VERSION_CHECK=
include golang.mk
ifeq ($(SKIP_GO_VERSION_CHECK),)
include golang.mk
endif
ifeq ($(ARCH),)
ARCH = $(GOARCH)
ARCH = $(GOARCH)
endif
ARCH_DIR = arch