Skip to content

Commit 170a8d8

Browse files
committed
flow: Makefile: Add WORK_HOME default value earlier
We need this variable in the BLOCKS flow before variables.mk gets included. Copy the same export to have this variable set in case WORK_HOME is not set. Signed-off-by: Daniel Schultz <[email protected]>
1 parent 9c59cec commit 170a8d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flow/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,12 @@ include $(DESIGN_CONFIG)
8989

9090
export DESIGN_DIR ?= $(dir $(DESIGN_CONFIG))
9191

92-
# default value "base" is duplicated from variables.yaml because we need it
92+
# default value "base" for FLOW_VARIANT and "." for WORK_HOME are duplicated
93+
# from variables.yaml and variables.mk because we need it
9394
# earlier in the flow for BLOCKS. BLOCKS is a feature specific to the
9495
# ORFS Makefile.
9596
export FLOW_VARIANT?=base
97+
export WORK_HOME?=.
9698
# BLOCKS is a ORFS make flow specific feature.
9799
ifneq ($(BLOCKS),)
98100
# Normally this comes from variables.yaml, but we need it here to set up these variables

0 commit comments

Comments
 (0)