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:
parent
3da7c1fc83
commit
962697823e
|
@ -10,7 +10,7 @@ adapter speed 10000
|
||||||
# SRST-only reset configuration
|
# SRST-only reset configuration
|
||||||
reset_config srst_only srst_push_pull
|
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
|
# make sure the default target is the boot core
|
||||||
targets ${_TARGETNAME}0
|
targets ${_TARGETNAME}0
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
source [find tcl/target/imx25.cfg]
|
source [find target/imx25.cfg]
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
# Declare Nand
|
# Declare Nand
|
||||||
|
|
Loading…
Reference in New Issue