File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -235,13 +235,16 @@ FIREWALL_BIN?=$(BINPATH)/firewall
235
235
$(FIREWALL_BIN ) :
236
236
GOBIN=$(dir $@ ) GO111MODULE=off go get -u github.com/containernetworking/plugins/plugins/meta/firewall
237
237
238
+ TC_REDIRECT_TAP_BIN? =$(BINPATH ) /tc-redirect-tap
239
+ $(TC_REDIRECT_TAP_BIN ) :
240
+ GOBIN=$(dir $@ ) go install github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap
238
241
239
242
TEST_BRIDGED_TAP_BIN? =$(BINPATH ) /test-bridged-tap
240
243
$(TEST_BRIDGED_TAP_BIN ) : $(shell find internal/cmd/test-bridged-tap -name * .go) $(GOMOD ) $(GOSUM )
241
244
go build -o $@ $(CURDIR ) /internal/cmd/test-bridged-tap
242
245
243
246
.PHONY : cni-bins
244
- cni-bins : $(BRIDGE_BIN ) $(PTP_BIN ) $(HOSTLOCAL_BIN ) $(FIREWALL_BIN )
247
+ cni-bins : $(BRIDGE_BIN ) $(PTP_BIN ) $(HOSTLOCAL_BIN ) $(FIREWALL_BIN ) $( TC_REDIRECT_TAP_BIN )
245
248
246
249
.PHONY : test-cni-bins
247
250
test-cni-bins : $(TEST_BRIDGED_TAP_BIN )
@@ -252,6 +255,7 @@ install-cni-bins: cni-bins $(CNI_BIN_ROOT)
252
255
install -D -o root -g root -m755 -t $(CNI_BIN_ROOT ) $(PTP_BIN )
253
256
install -D -o root -g root -m755 -t $(CNI_BIN_ROOT ) $(HOSTLOCAL_BIN )
254
257
install -D -o root -g root -m755 -t $(CNI_BIN_ROOT ) $(FIREWALL_BIN )
258
+ install -D -o root -g root -m755 -t $(CNI_BIN_ROOT ) $(TC_REDIRECT_TAP_BIN )
255
259
256
260
.PHONY : install-test-cni-bins
257
261
install-test-cni-bins : test-cni-bins $(CNI_BIN_ROOT )
Original file line number Diff line number Diff line change @@ -422,4 +422,3 @@ func requiredEnv(t *testing.T, key string) string {
422
422
require .NotEmpty (t , envVal , "%s env is not set" , key )
423
423
return envVal
424
424
}
425
-
You can’t perform that action at this time.
0 commit comments