Skip to content

Commit 57ba6e4

Browse files
committed
target(xilinx): Simplify out.xci target
- Move symlink creation into a separate recipe command - Change Vivado call to a one-line version for easier review
1 parent 006ad27 commit 57ba6e4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

target/xilinx/xilinx.mk

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,8 @@ $(CHS_XILINX_DIR)/build/%/out.xci: \
4444
$$(wildcard $(CHS_XILINX_DIR)/src/ips/$$*.prj) \
4545
| $(CHS_XILINX_DIR)/build/%/
4646
@rm -f $(CHS_XILINX_DIR)/build/$(*)*.log $(CHS_XILINX_DIR)/build/$(*)*.jou
47-
cd $| && { \
48-
$(VIVADO) -mode batch -log ../$*.log -jou ../$*.jou \
49-
-source $(call PLATFORM_PATH,$<) -tclargs $(BOARD_AND_IP); \
50-
ln -s $(@D)/$(IP_XCI_PATH) $(@D)/out.xci; \
51-
}
47+
cd $| && $(VIVADO) -mode batch -log ../$*.log -jou ../$*.jou -source $(call PLATFORM_PATH,$<) -tclargs $(BOARD_AND_IP);
48+
ln -s $(@D)/$(IP_XCI_PATH) $(@D)/out.xci;
5249

5350
##############
5451
# Bitstreams #

0 commit comments

Comments
 (0)