mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 17:31:46 +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
|
# offer ELF image
|
||||||
set elf_img "[run_dir]/image.elf"
|
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"]} {
|
if {[have_spec "x86_64"]} {
|
||||||
# as startup is done in 32 bit mode, GRUB expects a 32 bit image
|
# 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
|
exec [cross_dev_prefix]objcopy -O elf32-i386 bin/$core_bin $elf_img
|
||||||
|
Loading…
x
Reference in New Issue
Block a user