mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
run: Use raw binary object for base-hw on Muen
This commit is contained in:
parent
96a0820e89
commit
11bfbb3532
@ -144,6 +144,14 @@ proc run_boot_dir {binaries} {
|
||||
|
||||
# offer ELF image
|
||||
set elf_img "[run_dir]/image.elf"
|
||||
|
||||
# Use raw binary object for base-hw on Muen
|
||||
if {[have_spec "hw_x86_64_muen"]} {
|
||||
set raw_img "[run_dir]/image.raw"
|
||||
exec [cross_dev_prefix]objcopy -O binary bin/$core_bin $raw_img
|
||||
exit 0
|
||||
}
|
||||
|
||||
if {[have_spec "x86_64"]} {
|
||||
# as startup is done in 32 bit mode, GRUB expects a 32 bit image
|
||||
exec [cross_dev_prefix]objcopy -O elf32-i386 bin/$core_bin $elf_img
|
||||
|
Loading…
Reference in New Issue
Block a user