From 7e94b3a4fa2294c8e6a2813401544f1fcabe297f Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 18 Dec 2020 23:07:21 -0500 Subject: [PATCH] Examples: Explicitly refer to PYTHON3 not PYTHON --- examples/xml_py/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/xml_py/Makefile b/examples/xml_py/Makefile index 8180c0650..1a6f5cd38 100644 --- a/examples/xml_py/Makefile +++ b/examples/xml_py/Makefile @@ -22,9 +22,9 @@ VERILATOR = $(VERILATOR_ROOT)/bin/verilator endif DOT = dot -PYTHON = python3 +PYTHON3 = python3 -PYTHON_VERSION := $(shell ${PYTHON} --version 2>&1) +PYTHON_VERSION := $(shell ${PYTHON3} --version 2>&1) PYTHON_VERSION_FULL := $(wordlist 2,4,$(subst ., ,${PYTHON_VERSION})) PYTHON_VERSION_MAJOR := $(word 1,${PYTHON_VERSION_FULL}) PYTHON_VERSION_MINOR := $(word 2,${PYTHON_VERSION_FULL}) @@ -45,13 +45,13 @@ test: \ test-vl_file_copy: @echo "-- vl_file_copy example" - $(PYTHON) vl_file_copy -odir copied top.v + $(PYTHON3) vl_file_copy -odir copied top.v @cmp copied/top.v top.v @cmp copied/sub.v sub.v test-vl_hier_graph: @echo "-- vl_hier_graph example" - $(PYTHON) vl_hier_graph -o graph.dot top.v + $(PYTHON3) vl_hier_graph -o graph.dot top.v @echo "Manually run: " $(DOT) -Tpdf -o graph.pdf graph.dot ######################################################################