agent-ctl: Use a common Makefile style like other components

Update Makfile like other components, and remove the -v option of
cargo build commond.

Fixes: #2244

Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
bin 2021-07-15 12:59:58 +08:00
parent 594ff3a5bd
commit 27b299b2a7

View File

@ -3,10 +3,12 @@
# SPDX-License-Identifier: Apache-2.0
#
include ../../utils.mk
default: build
build:
RUSTFLAGS="--deny warnings" cargo build -v
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
clean:
cargo clean