Skip to content

Commit 6c2de1c

Browse files
author
Elod Gyorgy
committed
Projects without board_part generate project_info.tcl with placeholder
1 parent 41852e0 commit 6c2de1c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

digilent_vivado_checkin.tcl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,9 @@ if {[file exists $repo_path/project_info.tcl] == 0 || $force_overwrite_info_scri
208208
<target_language> $target_language \
209209
<directives> $directives \
210210
]
211-
212-
if {$board_part ne ""} {
213-
lappend var_map <board_part> $board_part
214-
}
211+
212+
# Even if current_board_part is empty, the replacement must be made, otherwise placeholder will be considered a board name upon checkout
213+
lappend var_map <board_part> $board_part
215214

216215
set file_name $repo_path/project_info.tcl
217216
set dfid [open $file_name "w"]

0 commit comments

Comments
 (0)