From: Antonio Borneo Date: Mon, 26 Oct 2020 16:54:55 +0000 (+0100) Subject: tcl/board: drop 'tcl' prefix in 'find' command X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=962697823e6065094aa7b925fa09e08456afde28;p=fw%2Fopenocd 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 Reviewed-on: http://openocd.zylin.com/5887 Reviewed-by: Tomas Vanek Tested-by: jenkins --- diff --git a/tcl/board/tocoding_poplar.cfg b/tcl/board/tocoding_poplar.cfg index d0951ce64..6d2e6354e 100644 --- a/tcl/board/tocoding_poplar.cfg +++ b/tcl/board/tocoding_poplar.cfg @@ -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 diff --git a/tcl/board/tx25_stk5.cfg b/tcl/board/tx25_stk5.cfg index 846bf58f5..9d77afdf3 100644 --- a/tcl/board/tx25_stk5.cfg +++ b/tcl/board/tx25_stk5.cfg @@ -4,7 +4,7 @@ # ------------------------------------------------------------------------- -source [find tcl/target/imx25.cfg] +source [find target/imx25.cfg] #------------------------------------------------------------------------- # Declare Nand