|
|
@ -31,18 +31,18 @@ endef
|
|
|
|
|
|
|
|
|
|
|
|
# Here are some examples of builds
|
|
|
|
# Here are some examples of builds
|
|
|
|
define MAKEFILE_EXAMPLE
|
|
|
|
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 -j $(nproc) all Run tidy gen add-copyright format lint cover build concurrently.
|
|
|
|
# make gen Generate all necessary files.
|
|
|
|
# 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 verify-copyright Verify the license headers for all files.
|
|
|
|
# make install-deepcopy-gen Install deepcopy-gen tools if the license is missing.
|
|
|
|
# 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.
|
|
|
|
# make build.multiarch PLATFORMS="linux_arm64 linux_amd64" V=1 Build binaries for both platforms.
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
export MAKEFILE_EXAMPLE
|
|
|
|
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
|
|
|
|
define makeallhelp
|
|
|
|
@printf "\n\033[1mMake example:\033[0m\n\n"
|
|
|
|
@printf "\n\033[1mMake example:\033[0m\n\n"
|
|
|
|
$(call MAKEFILE_EXAMPLE)
|
|
|
|
$(call MAKEFILE_EXAMPLE)
|
|
|
|