diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-16 12:49:37 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-16 12:57:51 +0200 |
commit | 4aa6fd4109aa9e92a1ade72885d7c99effcd7c76 (patch) | |
tree | ed39796a0695b3fc5a9501311f2281b82da83461 /Makefile | |
parent | fcc0bf6cd609224357d1380870a090c2875e9eff (diff) |
[pkg] ability to skip ca check
sometimes we have no network access
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,7 @@ PROVIDER_CONFIG ?= branding/config/vendor.conf DEFAULT_PROVIDER = branding/assets/default/ VERSION ?= $(shell git describe) XBUILD ?= no +SKIP_CACHECK ?= no # go paths GOPATH = $(shell go env GOPATH) @@ -119,7 +120,9 @@ prepare_templates: generate relink_default tgz @mkdir -p build/${PROVIDER}/bin/ @cp ${TEMPLATES}/makefile/Makefile build/${PROVIDER}/Makefile @VERSION=${VERSION} PROVIDER_CONFIG=${PROVIDER_CONFIG} ${SCRIPTS}/generate-vendor-make.py build/${PROVIDER}/vendor.mk +ifeq (${SKIP_CACHECK}, no) @${SCRIPTS}/check-ca-crt.py ${PROVIDER} ${PROVIDER_CONFIG} +endif generate: @go generate cmd/bitmask-vpn/main.go |