agent: generate proto files properly

Need to generate all protos.

Depends-on: github.com/kata-containers/tests#3006
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2020-10-25 11:06:49 +08:00
parent 837343f08a
commit 6e9ca45732

View File

@ -25,11 +25,6 @@ export VERSION_COMMIT := $(if $(COMMIT),$(VERSION)-$(COMMIT),$(VERSION))
BUILD_TYPE = release
# set proto file to generate
ifdef proto
PROTO_FILE=${proto}
endif
ARCH = $(shell uname -m)
LIBC ?= musl
ifneq ($(LIBC),musl)
@ -175,4 +170,4 @@ help: show-summary
optimize
generate-protocols:
protocols/hack/update-generated-proto.sh "${PROTO_FILE}"
protocols/hack/update-generated-proto.sh all