Skip to content

Commit 5128f0b

Browse files
authored
Merge pull request #1159 from Pinata-Consulting/asap7-remove-code-duplication
asap7: remove a bit of code duplication
2 parents 30b2756 + 538ceae commit 5128f0b

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

flow/platforms/asap7/config.mk

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -239,23 +239,17 @@ endif
239239
ifeq ($(CORNER),)
240240
export CORNER = BC
241241
$(info Default PVT selection: $(CORNER))
242-
export LIB_FILES += $($(CORNER)_LIB_FILES)
243-
export LIB_FILES += $(ADDITIONAL_LIBS)
244-
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
245-
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
246-
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
247-
export VOLTAGE = $($(CORNER)_VOLTAGE)
248-
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
249242
else
250243
$(info User PVT selection: $(CORNER))
251-
export LIB_FILES += $($(CORNER)_LIB_FILES)
252-
export LIB_FILES += $(ADDITIONAL_LIBS)
253-
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
254-
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
255-
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
256-
export VOLTAGE = $($(CORNER)_VOLTAGE)
257-
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
258244
endif
245+
export LIB_FILES += $($(CORNER)_LIB_FILES)
246+
export LIB_FILES += $(ADDITIONAL_LIBS)
247+
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
248+
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
249+
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
250+
export VOLTAGE = $($(CORNER)_VOLTAGE)
251+
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
252+
259253
# ---------------------------------------------------------
260254
# IR Drop
261255
# ---------------------------------------------------------

0 commit comments

Comments
 (0)