From e39b94492b2048fc2d852bb9b2f960f3d1454bf9 Mon Sep 17 00:00:00 2001 From: kareefardi Date: Fri, 18 Aug 2023 20:36:36 +0300 Subject: [PATCH] order matters --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f852530f3..92fb0a684 100644 --- a/Makefile +++ b/Makefile @@ -109,10 +109,6 @@ simenv: setup: check_dependencies install check-env install_mcw openlane pdk-with-volare setup-timing-scripts setup-cocotb # Openlane -blocks=$(shell cd $(PROJECT_ROOT)/openlane && find * -maxdepth 0 -type d) -.PHONY: $(blocks) -$(blocks): % : - $(MAKE) -C openlane $* dv_patterns=$(shell cd verilog/dv && find * -maxdepth 0 -type d) dv-targets-rtl=$(dv_patterns:%=verify-%-rtl) @@ -312,6 +308,8 @@ check_dependencies: export CUP_ROOT?=$(shell pwd) export TIMING_ROOT?=$(shell pwd)/dependencies/timing-scripts export PROJECT_ROOT?=$(CUP_ROOT) +$(info project_root $(PROJECT_ROOT)) +$(info cup_root $(CUP_ROOT)) timing-scripts-repo=https://github.com/efabless/timing-scripts.git $(TIMING_ROOT): @@ -405,3 +403,8 @@ caravel-sta: ./env/spef-mapping.tcl @echo "You can find results for all corners in $(CUP_ROOT)/signoff/caravel/openlane-signoff/timing/" @echo "Check summary.log of a specific corner to point to reports with reg2reg violations" @echo "Cap and slew violations are inside summary.log file itself" + +blocks=$(shell cd $(PROJECT_ROOT)/openlane && find * -maxdepth 0 -type d) +.PHONY: $(blocks) +$(blocks): % : + $(MAKE) -C openlane $*