mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
foc: do not accidentally delete boot directory
This partially reverts commit 7f7f8063dd
and adds the eager creation of the expected ARM boot directory.
This commit is contained in:
parent
c16288bcde
commit
d6e41ae7e3
@ -186,9 +186,8 @@ proc run_boot_dir_arm { binaries } {
|
||||
set tftp_base_dir [load_tftp_base_dir]
|
||||
set tftp_offset_dir [load_tftp_offset_dir]
|
||||
|
||||
exec rm -rf $tftp_base_dir$tftp_offset_dir
|
||||
exec mkdir $tftp_base_dir$tftp_offset_dir
|
||||
exec ln -sf [pwd]/[run_dir]/image.elf $tftp_base_dir$tftp_offset_dir/image.elf
|
||||
exec mkdir -p $tftp_base_dir$tftp_offset_dir
|
||||
exec ln -sf [pwd]/[run_dir]/image.elf $tftp_base_dir$tftp_offset_dir
|
||||
if {[have_include "image/uboot"]} {
|
||||
exec ln -sf [pwd]/[run_dir]/uImage $tftp_base_dir$tftp_offset_dir/uImage
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user