tool/run: absolute source path for load_tftp_inst_cmd

This commit is contained in:
Christian Helmuth 2021-07-02 15:39:23 +02:00
parent 4d4cc4fd02
commit fdc4bd2f90

View File

@ -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]