Skip to content

Commit abf10b4

Browse files
committed
makefile: add a comment to defaults.py handling
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 017df8c commit abf10b4

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
@@ -160,6 +160,8 @@ 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.
163165
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
164166

165167
PUBLIC=nangate45 sky130hd sky130hs asap7 ihp-sg13g2 gf180

0 commit comments

Comments
 (0)