From 27b299b2a78207d994fbc5cb7b12f26b01955ffb Mon Sep 17 00:00:00 2001 From: bin Date: Thu, 15 Jul 2021 12:59:58 +0800 Subject: [PATCH] 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 --- tools/agent-ctl/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/agent-ctl/Makefile b/tools/agent-ctl/Makefile index 908e30d281..2ae095a00b 100644 --- a/tools/agent-ctl/Makefile +++ b/tools/agent-ctl/Makefile @@ -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