File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 3131
3232# Build directories.
3333REPO_ROOT = $(shell git rev-parse --show-toplevel)
34+ AZURE_IPAM_DIR = $(REPO_ROOT ) /azure-ipam
3435CNM_DIR = $(REPO_ROOT ) /cnm/plugin
3536CNI_NET_DIR = $(REPO_ROOT ) /cni/network/plugin
3637CNI_IPAM_DIR = $(REPO_ROOT ) /cni/ipam/plugin
@@ -41,6 +42,7 @@ CNS_DIR = $(REPO_ROOT)/cns/service
4142NPM_DIR = $(REPO_ROOT ) /npm/cmd
4243OUTPUT_DIR = $(REPO_ROOT ) /output
4344BUILD_DIR = $(OUTPUT_DIR ) /$(GOOS ) _$(GOARCH )
45+ AUZRE_IPAM_BUILD_DIR = $(BUILD_DIR ) /azure-ipam
4446IMAGE_DIR = $(OUTPUT_DIR ) /images
4547CNM_BUILD_DIR = $(BUILD_DIR ) /cnm
4648CNI_BUILD_DIR = $(BUILD_DIR ) /cni
@@ -121,6 +123,9 @@ azure-npm: azure-npm-binary npm-archive
121123
122124# #@ Binaries
123125
126+ # Build the delegated IPAM plugin binary.
127+ azure-ipam-binary :
128+ cd $(AZURE_IPAM_DIR ) && CGO_ENABLED=0 go build -v -o $(AUZRE_IPAM_BUILD_DIR ) /azure-ipam$(EXE_EXT ) -ldflags " -X main.version=$( VERSION) " -gcflags=" -dwarflocationlists=true"
124129# Build the Azure CNM binary.
125130cnm-binary :
126131 cd $(CNM_DIR ) && CGO_ENABLED=0 go build -v -o $(CNM_BUILD_DIR ) /azure-vnet-plugin$(EXE_EXT ) -ldflags " -X main.version=$( VERSION) " -gcflags=" -dwarflocationlists=true"
You can’t perform that action at this time.
0 commit comments