From 045dbf55b7afe7a147c854a203913516a5db0bd0 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Thu, 11 May 2023 02:01:00 +0800 Subject: [PATCH] feat(makefile): add help and helo-all Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- script/make-rules/common.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/make-rules/common.mk b/script/make-rules/common.mk index 04ff329e5..f65d62acf 100644 --- a/script/make-rules/common.mk +++ b/script/make-rules/common.mk @@ -31,18 +31,18 @@ endef # Here are some examples of builds define MAKEFILE_EXAMPLE -# make build BINS=sealer Only a single sealer binary is built. +# 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 gen Generate all necessary files. -# make linux.arm64 sealer is compiled on arm64 platform. +# make linux.arm64 imctl is compiled on arm64 platform. # make verify-copyright Verify the license headers for all files. # make install-deepcopy-gen Install deepcopy-gen tools if the license is missing. -# make build BINS=sealer V=1 DEBUG=1 Build debug binaries for only sealer. +# make build BINS=imctl V=1 DEBUG=1 Build debug binaries for only imctl. # make build.multiarch PLATFORMS="linux_arm64 linux_amd64" V=1 Build binaries for both platforms. endef export MAKEFILE_EXAMPLE -# Define all help functions @printf "\n\033[1mCurrent sealer version information: $(shell sealer version):\033[0m\n\n" +# Define all help functions @printf "\n\033[1mCurrent imctl version information: $(shell imctl version):\033[0m\n\n" define makeallhelp @printf "\n\033[1mMake example:\033[0m\n\n" $(call MAKEFILE_EXAMPLE)