Skip to content

Commit 5b6f522

Browse files
committed
makefile: fix print-GDS_ALLOW_EMPTY with regex that contains parenthsis
Works now: $ make GDS_ALLOW_EMPTY="(asdf|asdfj)" print-GDS_ALLOW_EMPTY [INFO][FLOW] Using platform directory /home/oyvind/OpenROAD-flow-scripts/flow/platforms/nangate45 GDS_ALLOW_EMPTY = (asdf|asdfj) Used to fail: make GDS_ALLOW_EMPTY='(asdf|asdfj)' print-GDS_ALLOW_EMPTY [INFO][FLOW] Using platform directory /home/oyvind/OpenROAD-flow-scripts/flow/platforms/nangate45 bash: -c: line 1: syntax error near unexpected token `(' bash: -c: line 1: `echo GDS_ALLOW_EMPTY = (asdf|asdfj)' make: *** [Makefile:1133: print-GDS_ALLOW_EMPTY] Error 2 Signed-off-by: Øyvind Harboe <[email protected]>
1 parent cf99cda commit 5b6f522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ handoff : all_defs all_verilog
10781078

10791079
.PHONY: print-%
10801080
# Print any variable, for instance: make print-DIE_AREA
1081-
print-% : ; @echo $* = $($*)
1081+
print-% : ; @echo "$* = $($*)"
10821082

10831083
.PHONY: test-unset-and-make-%
10841084
test-unset-and-make-%: ; $(UNSET_AND_MAKE) $*

0 commit comments

Comments
 (0)