mirror of https://bitbucket.org/ausocean/av.git
init: add flag for rv build tags
This commit is contained in:
parent
f6e00342f7
commit
800d3d141a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue