Skip to content

Commit ef9802c

Browse files
committed
makefile: allow DESIGN_CONFIG to introduce a different default than Makefile
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent d012f05 commit ef9802c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

flow/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
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+
510
# ==============================================================================
611
# Uncomment or add the design to run
712
# ==============================================================================
@@ -191,10 +196,6 @@ export UTILS_DIR ?= $(FLOW_HOME)/util
191196
export SCRIPTS_DIR ?= $(FLOW_HOME)/scripts
192197
export TEST_DIR ?= $(FLOW_HOME)/test
193198

194-
#-------------------------------------------------------------------------------
195-
# Include design and platform configuration
196-
include $(DESIGN_CONFIG)
197-
198199
PUBLIC=nangate45 sky130hd sky130hs asap7 ihp-sg13g2 gf180
199200

200201
ifneq ($(wildcard $(PLATFORM_HOME)/$(PLATFORM)),)

0 commit comments

Comments
 (0)