[VOL-5000] VOL-5001 - edits for debugging voltha-prototype problems.
Makefile
--------
o Disable DISTUTILS_DEBUG, only needed when tracing pip install failure.
o Added comments and minor cleanups.
o Added enter/leave banners for targets.
o Display PROTO_FILES macro to see where the bash -c syntax error problem originated.
o ls /go/src and java_temp/ to show permissions (local docker issue).
o Sterile target updated to remove java_temp and addeed
mkdir helper logic to continue building locally.
tox.ini
-------
o Community reported people are no longer using python protos so
begin cleanup by removing old interpreters.
Change-Id: Ia7ae20bb409c9ccfdc2e87fb07491a143eae56da
diff --git a/makefiles/docker/include.mk b/makefiles/docker/include.mk
index 3ed7d08..254e07c 100644
--- a/makefiles/docker/include.mk
+++ b/makefiles/docker/include.mk
@@ -29,7 +29,6 @@
## GhostBusters: Cross the streams
## Always pass -it to attach streams, jenkins + docker == test -t fail
-# is-stdin = $(shell test -t 0 && { echo "-it" } || {echo '--tty'})# # Attach streams if interactive
is-stdin = $(shell test -t 0 && { echo '--interactive' })# # Attach streams if interactive
is-stdin += --tty# # Attach stdout else jenkins::docker is silent
@@ -42,6 +41,8 @@
PROTOC_SH = $(docker-run) -v ${CURDIR}:/go/src/github.com/opencord/voltha-protos/v5 $(is-stdin) --workdir=/go/src/github.com/opencord/voltha-protos/v5 $(vee-citools)-protoc sh -c
GO = $(docker-run) -v ${CURDIR}:/app $(is-stdin) -v gocache:/.cache $(vee-golang) $(vee-citools)-golang go
+docker-sh = $(PROTOC_SH)
+
$(if $(DEBUG),$(warning LEAVE))
# [EOF]