File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,15 @@ cd ../VivadoProjects
8383# Run the tcl script to build the project and generate the bitfile
8484/tools/Xilinx/Vivado/2019.1/bin/vivado -mode batch -source " $PRJ_FILE "
8585
86- # Update the bif file for bootgen
87- # component file1 needs the pin file path
88- sed " s|%BIT_FILE%|$PRJ_DIR_CREATED /$BIT_FILE |" \
89- bif/all.bif.in > \
90- bif/all.bif
91-
92- # Now use bootgen so we can program it from linux
93- /tools/Xilinx/SDK/2019.1/bin/bootgen -image bif/all.bif -w -process_bitstream bin
86+ # bootgen: skip ultre96 projects
87+ if test " ${1#* " ultra96" } " = " $1 " ; then
88+
89+ # Update the bif file for bootgen
90+ # component file1 needs the pin file path
91+ sed " s|%BIT_FILE%|$PRJ_DIR_CREATED /$BIT_FILE |" \
92+ bif/all.bif.in > \
93+ bif/all.bif
94+
95+ # Now use bootgen so we can program it from linux
96+ /tools/Xilinx/SDK/2019.1/bin/bootgen -image bif/all.bif -w -process_bitstream bin
97+ fi
You can’t perform that action at this time.
0 commit comments