From 54a2f5d869eff484f1596aa22385565ff5f3484e Mon Sep 17 00:00:00 2001 From: jeffdi Date: Thu, 25 Nov 2021 09:58:04 -0800 Subject: [PATCH] updated Makefile for update_mcw --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index fc6067df..8acd44a3 100644 --- a/Makefile +++ b/Makefile @@ -738,6 +738,12 @@ else @echo PROJECT is set to $(PROJECT) endif +check-mcw: + @if [ ! -d "$(MCW_ROOT)" ]; then \ + echo "MCW Root: "$(MCW_ROOT)" doesn't exists, please export the correct path before running make. "; \ + exit 1; \ + fi + # Make README.rst README.rst: README.src.rst docs/source/getting-started.rst docs/source/tool-versioning.rst openlane/README.src.rst docs/source/caravel-with-openlane.rst Makefile pip -q install rst_include && \