Refactored binapi generator with message encoding
[govpp.git] / Makefile
index e5bd0bd..7c6a03b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -97,11 +97,12 @@ gen-binapi-docker: install-generator ## Generate binapi code (using Docker)
        @echo "# generating binapi in docker image ${VPP_IMG}"
        $(eval cmds := $(shell go generate -n $(BINAPI_DIR) 2>&1 | tr "\n" ";"))
        docker run -t --rm \
+               -e DEBUG_GOVPP \
                -v "$(shell which binapi-generator):/usr/local/bin/binapi-generator:ro" \
                -v "$(shell pwd):/govpp" -w /govpp \
                -u "$(shell id -u):$(shell id -g)" \
                "${VPP_IMG}" \
-         sh -exc "cd $(BINAPI_DIR) && $(cmds)"
+         sh -ec "cd $(BINAPI_DIR) && $(cmds)"
 
 extras:
        @make -C extras