Skip to content

Commit 815a106

Browse files
committed
makefile: use do-copy for place
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 26bea12 commit 815a106

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

flow/Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,7 @@ $(eval $(call do-step,3_1_place_gp_skip_io,$(RESULTS_DIR)/2_floorplan.odb $(RESU
542542
ifndef IS_CHIP
543543
$(eval $(call do-step,3_2_place_iop,$(RESULTS_DIR)/3_1_place_gp_skip_io.odb $(IO_CONSTRAINTS),io_placement))
544544
else
545-
$(RESULTS_DIR)/3_2_place_iop.odb: $(RESULTS_DIR)/3_1_place_gp_skip_io.odb $(IO_CONSTRAINTS)
546-
cp $< $@
545+
$(eval $(call do-copy,3_2_place_iop,3_1_place_gp_skip_io.odb,$(IO_CONSTRAINTS)))
547546
endif
548547

549548
# STEP 3: Global placement with placed IOs, timing-driven, and routability-driven.
@@ -562,11 +561,9 @@ clean_resize:
562561
#-------------------------------------------------------------------------------
563562
$(eval $(call do-step,3_5_place_dp,$(RESULTS_DIR)/3_4_place_resized.odb,detail_place))
564563

565-
$(RESULTS_DIR)/3_place.odb: $(RESULTS_DIR)/3_5_place_dp.odb
566-
cp $< $@
564+
$(eval $(call do-copy,3_place,3_5_place_dp.odb,))
567565

568-
$(RESULTS_DIR)/3_place.sdc: $(RESULTS_DIR)/2_floorplan.sdc
569-
cp $< $@
566+
$(eval $(call do-copy,3_place,2_floorplan.sdc,,.sdc))
570567

571568
# Clean Targets
572569
#-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)