Skip to content

Commit 515a851

Browse files
authored
Merge pull request #2578 from The-OpenROAD-Project-staging/reorder-defaults
The platforms should set their defaults before the generic defaults
2 parents 28d9f13 + 909a7a9 commit 515a851

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flow/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ export UTILS_DIR ?= $(FLOW_HOME)/util
160160
export SCRIPTS_DIR ?= $(FLOW_HOME)/scripts
161161
export TEST_DIR ?= $(FLOW_HOME)/test
162162

163-
# __SPACE__ is a workaround for whitespace hell in "foreach"; there
164-
# is no way to escape space in defaults.py and get "foreach" to work.
165-
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
166-
167163
PUBLIC=nangate45 sky130hd sky130hs asap7 ihp-sg13g2 gf180
168164

169165
ifneq ($(wildcard $(PLATFORM_HOME)/$(PLATFORM)),)
@@ -178,6 +174,10 @@ endif
178174

179175
include $(PLATFORM_DIR)/config.mk
180176

177+
# __SPACE__ is a workaround for whitespace hell in "foreach"; there
178+
# is no way to escape space in defaults.py and get "foreach" to work.
179+
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
180+
181181
# Enables hierarchical yosys
182182
export SYNTH_STATS = $(RESULTS_DIR)/synth_stats.txt
183183
export SYNTH_STATS_SCRIPT = $(SCRIPTS_DIR)/synth_stats.tcl

0 commit comments

Comments
 (0)