Skip to content

Commit 538ceae

Browse files
committed
asap7: remove a bit of code duplication
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent fc4a4c9 commit 538ceae

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
@@ -238,23 +238,17 @@ endif
238238
ifeq ($(CORNER),)
239239
export CORNER = BC
240240
$(info Default PVT selection: $(CORNER))
241-
export LIB_FILES += $($(CORNER)_LIB_FILES)
242-
export LIB_FILES += $(ADDITIONAL_LIBS)
243-
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
244-
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
245-
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
246-
export VOLTAGE = $($(CORNER)_VOLTAGE)
247-
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
248241
else
249242
$(info User PVT selection: $(CORNER))
250-
export LIB_FILES += $($(CORNER)_LIB_FILES)
251-
export LIB_FILES += $(ADDITIONAL_LIBS)
252-
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
253-
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
254-
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
255-
export VOLTAGE = $($(CORNER)_VOLTAGE)
256-
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
257243
endif
244+
export LIB_FILES += $($(CORNER)_LIB_FILES)
245+
export LIB_FILES += $(ADDITIONAL_LIBS)
246+
export LIB_DIRS += $($(CORNER)_LIB_DIRS)
247+
export DB_FILES += $(realpath $($(CORNER)_DB_FILES))
248+
export TEMPERATURE = $($(CORNER)_TEMPERATURE)
249+
export VOLTAGE = $($(CORNER)_VOLTAGE)
250+
export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib
251+
258252
# ---------------------------------------------------------
259253
# IR Drop
260254
# ---------------------------------------------------------

0 commit comments

Comments
 (0)