Changing use of LOCAL_PROTOS and LOCAL_PYVOLTHA to match other repos
Change-Id: Ia44aad5446f0508ff56177e5cd78c017503da73c
diff --git a/python/Makefile b/python/Makefile
index 2a86247..98005d2 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -65,14 +65,14 @@
mkdir -p local_imports
ifdef LOCAL_PROTOS
mkdir -p local_imports/voltha-protos/dist
- cp ../../voltha-protos/dist/*.tar.gz local_imports/voltha-protos/dist/
+ cp ${LOCAL_PROTOS}/dist/*.tar.gz local_imports/voltha-protos/dist/
endif
local-pyvoltha:
mkdir -p local_imports
ifdef LOCAL_PYVOLTHA
mkdir -p local_imports/pyvoltha/dist
- cp ../../pyvoltha/dist/*.tar.gz local_imports/pyvoltha/dist/
+ cp ${LOCAL_PYVOLTHA}/dist/*.tar.gz local_imports/pyvoltha/dist/
endif
docker-build: local-protos local-pyvoltha