From 097df118402d4508bc84d44b3ab89d0f2c0973e8 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Sat, 13 May 2023 14:24:34 +0800 Subject: [PATCH] feat: super dependencies makefile help Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- script/make-rules/common.mk | 2 +- script/make-rules/dependencies.mk | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/script/make-rules/common.mk b/script/make-rules/common.mk index 63d16debc..ef96cd27c 100644 --- a/script/make-rules/common.mk +++ b/script/make-rules/common.mk @@ -32,7 +32,7 @@ endef # Here are some examples of builds define MAKEFILE_EXAMPLE # make build BINS=imctl Only a single imctl binary is built. -# make -j $(nproc) all Run tidy gen add-copyright format lint cover build concurrently. +# make -j (nproc) all Run tidy gen add-copyright format lint cover build concurrently. # make gen Generate all necessary files. # make linux.arm64 imctl is compiled on arm64 platform. # make verify-copyright Verify the license headers for all files. diff --git a/script/make-rules/dependencies.mk b/script/make-rules/dependencies.mk index ba54ce38e..3302d89e7 100644 --- a/script/make-rules/dependencies.mk +++ b/script/make-rules/dependencies.mk @@ -34,3 +34,8 @@ dependencies.tools.critical: $(addprefix tools.verify., $(CRITICAL_TOOLS)) .PHONY: dependencies.tools.trivial dependencies.tools.trivial: $(addprefix tools.verify., $(TRIVIAL_TOOLS)) + +## dependencies.help: Print help for dependencies targets +.PHONY: dependencies.help +dependencies.help: script/make-rules/dependencies.mk + $(call smallhelp) \ No newline at end of file