Separate the build library functions and add a top level tools script

The current Makefile doesn't allow the compilation of the tools directory.
This commit creates a build library file, updates the Makefile
and a top level script fod building tools.

To build the tools, you can run make build_tools.

As before, you can run make build to build etcd binaries.
This commit is contained in:
Eduardo Patrocinio
2022-06-10 11:19:05 -04:00
parent 73766a92fb
commit 5a93b087a6
5 changed files with 133 additions and 126 deletions

View File

@ -44,7 +44,7 @@ export GOFLAGS=-mod=readonly
export ETCD_VERIFY=all
source ./scripts/test_lib.sh
source ./scripts/build.sh
source ./scripts/build_lib.sh
if [ -n "${OUTPUT_FILE}" ]; then
log_callout "Dumping output to: ${OUTPUT_FILE}"