From 800d3d141aad009aaa65a37f9eeacbb5b00309fd Mon Sep 17 00:00:00 2001 From: Trek H Date: Fri, 23 Dec 2022 11:44:06 +1030 Subject: [PATCH] init: add flag for rv build tags --- init/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/Makefile b/init/Makefile index 5e15e8a0..87da65d1 100644 --- a/init/Makefile +++ b/init/Makefile @@ -9,6 +9,7 @@ PATH := /usr/local/go/bin:$(PATH) BIN_NAME := rv BIN_DIR := /src/bitbucket.org/ausocean/av/cmd/$(BIN_NAME) RUN_SCRIPT_DIR := /src/bitbucket.org/ausocean/av/init/run.sh +BUILD_TAG := withcv ifeq ($(MA),) MA := "00:E0:4C:00:00:01" @@ -25,7 +26,7 @@ endif rebuild: chmod +x run.sh - cd ../cmd/$(BIN_NAME); go build -tags withcv + cd ../cmd/$(BIN_NAME); go build -tags $(BUILD_TAG) install: as_root make_dirs soft_copy_files rebuild syncreboot @echo "Install complete"