Skip to content

Commit bf8e849

Browse files
committed
flow: scripts: variables: Fix KEPLER_FORMAL_EXE export
Fix KEPLER_FORMAL_EXE export overriding user assignments 'export VAR := $(VAR)' re-assigns the variable with simple expansion, causing the ?= default to always win over user-provided values. Change to plain 'export' to only mark it for export without reassigning. Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
1 parent e0f1ad3 commit bf8e849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scripts/variables.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ KLAYOUT_DIR = $(abspath $(FLOW_HOME)/../tools/install/klayout/)
118118
KLAYOUT_BIN_FROM_DIR = $(KLAYOUT_DIR)/klayout
119119

120120
KEPLER_FORMAL_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/kepler-formal/bin/kepler-formal)
121-
export KEPLER_FORMAL_EXE := $(KEPLER_FORMAL_EXE)
121+
export KEPLER_FORMAL_EXE
122122

123123
ifeq ($(wildcard $(KLAYOUT_BIN_FROM_DIR)), $(KLAYOUT_BIN_FROM_DIR))
124124
export KLAYOUT_CMD ?= sh -c 'LD_LIBRARY_PATH=$(dir $(KLAYOUT_BIN_FROM_DIR)) $$0 "$$@"' $(KLAYOUT_BIN_FROM_DIR)

0 commit comments

Comments
 (0)