VOL-4977 Failure in voltha-protos verification job.
Makefile
makefiles/consts.mk
makefiles/virtualenv.mk
-----------------------
o Update to use library makefile virtualenv.mk to create .venv
and remove by clean/sterile target.
o Construct commands using '&&' -vs- ';' to better detect errors.
o pip install packages relocated into the requirements.txt file.
o Separate extra deps from target rule since they are never
processed by the target rule.
o Added banners for readabilty.
makefiles/lint/golang/sca.mk
makefiles/lint/golang/include.mk
--------------------------------
o lint target for golang sources.
Tested with python v3.10 (localhost) and v2.7 (docker container).
Debug to see if hangs are dependent on the patch reported in vol-4977.
Change-Id: I0783f6fb347bf2cd15350f9e17fc19695343b7ac
diff --git a/makefiles/lint/include.mk b/makefiles/lint/include.mk
index 32beda2..3048679 100644
--- a/makefiles/lint/include.mk
+++ b/makefiles/lint/include.mk
@@ -21,6 +21,7 @@
ONF_MAKE := $(MAKEDIR)
+include $(ONF_MAKE)/lint/golang/include.mk
include $(ONF_MAKE)/lint/json.mk
include $(ONF_MAKE)/lint/makefile.mk
include $(ONF_MAKE)/lint/python.mk