Skip to content

Commit 3137559

Browse files
committed
makefile: introduce UNSET_AND_MAKE to invoke make recursively
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent b7bd3a1 commit 3137559

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flow/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ else ifneq ($(FOOTPRINT_TCL),)
454454
IS_CHIP = 1
455455
endif
456456

457+
UNSET_AND_MAKE = @bash -c 'for var in $(ISSUE_VARIABLES_NAMES); do unset $$var; done; echo $(MAKE) DESIGN_CONFIG=$(DESIGN_CONFIG) $$@; $(MAKE) DESIGN_CONFIG=$(DESIGN_CONFIG) $$@' --
458+
457459
# STEP 1: Translate verilog to odb
458460
#-------------------------------------------------------------------------------
459461
$(RESULTS_DIR)/2_1_floorplan.odb: $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(TECH_LEF) $(SC_LEF) $(ADDITIONAL_LEFS) $(FOOTPRINT) $(SIG_MAP_FILE) $(FOOTPRINT_TCL)

0 commit comments

Comments
 (0)