mirror of https://bitbucket.org/ausocean/av.git
Merged in make-flags (pull request #491)
init: add flag for rv build tags in makefile
This commit is contained in:
commit
18a869abfa
|
@ -9,6 +9,7 @@ PATH := /usr/local/go/bin:$(PATH)
|
||||||
BIN_NAME := rv
|
BIN_NAME := rv
|
||||||
BIN_DIR := /src/bitbucket.org/ausocean/av/cmd/$(BIN_NAME)
|
BIN_DIR := /src/bitbucket.org/ausocean/av/cmd/$(BIN_NAME)
|
||||||
RUN_SCRIPT_DIR := /src/bitbucket.org/ausocean/av/init/run.sh
|
RUN_SCRIPT_DIR := /src/bitbucket.org/ausocean/av/init/run.sh
|
||||||
|
BUILD_TAG := withcv
|
||||||
|
|
||||||
ifeq ($(MA),)
|
ifeq ($(MA),)
|
||||||
MA := "00:E0:4C:00:00:01"
|
MA := "00:E0:4C:00:00:01"
|
||||||
|
@ -25,7 +26,7 @@ endif
|
||||||
|
|
||||||
rebuild:
|
rebuild:
|
||||||
chmod +x run.sh
|
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
|
install: as_root make_dirs soft_copy_files rebuild syncreboot
|
||||||
@echo "Install complete"
|
@echo "Install complete"
|
||||||
|
|
Loading…
Reference in New Issue