From fdc4bd2f900058e6fc2bcfed86088389ae88afac Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Fri, 2 Jul 2021 15:39:23 +0200 Subject: [PATCH] tool/run: absolute source path for load_tftp_inst_cmd --- tool/run/boot_dir/hw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/run/boot_dir/hw b/tool/run/boot_dir/hw index f1f5ec9393..8c846c1194 100644 --- a/tool/run/boot_dir/hw +++ b/tool/run/boot_dir/hw @@ -150,7 +150,7 @@ proc run_boot_dir {binaries} { # install image.elf file in TFTP directory for PXE boot if {[expr [have_spec arm] || [have_spec arm_64]] && [have_include "load/tftp"]} { - exec {*}[load_tftp_inst_cmd] [run_dir]/boot/image.elf [load_tftp_base_dir][load_tftp_offset_dir] + exec {*}[load_tftp_inst_cmd] [pwd]/[run_dir]/boot/image.elf [load_tftp_base_dir][load_tftp_offset_dir] if {[have_include "image/uboot"]} { exec {*}[load_tftp_inst_cmd] [pwd]/[run_dir]/uImage [load_tftp_base_dir][load_tftp_offset_dir]