Skip to content

Commit 636e3d5

Browse files
authored
Merge pull request #2345 from Pinata-Consulting/makefile-local-make-gaffe
Makefile: fix my gaffe where 'make' taking DESIGN_CONFIG from Makefile broke
2 parents 6c52a38 + 7209ec6 commit 636e3d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flow/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
# file to avoid having to adding the to the make command line.
33
-include settings.mk
44

5-
# Include design and platform configuration before setting default options
6-
# in this file. This allows the DESIGN_CONFIG to set different defaults than
7-
# this file.
8-
include $(DESIGN_CONFIG)
9-
105
# ==============================================================================
116
# Uncomment or add the design to run
127
# ==============================================================================
@@ -109,6 +104,11 @@ include $(DESIGN_CONFIG)
109104
# Default design
110105
DESIGN_CONFIG ?= ./designs/nangate45/gcd/config.mk
111106

107+
# Include design and platform configuration before setting default options
108+
# in this file. This allows the DESIGN_CONFIG to set different defaults than
109+
# this file.
110+
include $(DESIGN_CONFIG)
111+
112112
# For instance Bazel needs artifacts (.odb and .rpt files) on a failure to
113113
# allow the user to save hours on re-running the failed step locally, but
114114
# when working with a Makefile flow, it is more natural to fail the step

0 commit comments

Comments
 (0)