tcl/board: drop 'tcl' prefix in 'find' command

When OpenOCD is installed to the host the 'tcl' folder gets
usually installed in /usr/share/openocd/, thus having 'tcl' as
prefix of the target's file causes 'find' to fail.

Remove the 'tcl' folder prefix.

Change-Id: I3dc484c8de6af8f5aae4dd1b230522ee47ae2ba6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5887
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
This commit is contained in:
Antonio Borneo 2020-10-26 17:54:55 +01:00
parent 3da7c1fc83
commit 962697823e
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ adapter speed 10000
# SRST-only reset configuration
reset_config srst_only srst_push_pull
source [find tcl/target/hi3798.cfg]
source [find target/hi3798.cfg]
# make sure the default target is the boot core
targets ${_TARGETNAME}0

View File

@ -4,7 +4,7 @@
# -------------------------------------------------------------------------
source [find tcl/target/imx25.cfg]
source [find target/imx25.cfg]
#-------------------------------------------------------------------------
# Declare Nand