mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-06 02:28:30 +00:00
parent
f89b63ef87
commit
1e41c2dbe9
@ -158,7 +158,7 @@ proc run_boot_dir {binaries} {
|
|||||||
#
|
#
|
||||||
# Keep only the ELF boot image, but remove stripped binaries
|
# Keep only the ELF boot image, but remove stripped binaries
|
||||||
#
|
#
|
||||||
exec rm -r [run_dir]/genode
|
exec rm -rf [run_dir]/genode
|
||||||
|
|
||||||
if {[have_include "image/iso"] || [have_include "image/disk"]} {
|
if {[have_include "image/iso"] || [have_include "image/disk"]} {
|
||||||
#
|
#
|
||||||
|
@ -767,6 +767,7 @@ proc build_core {lib modules target} {
|
|||||||
# Generate bootable core image containing all boot-modules
|
# Generate bootable core image containing all boot-modules
|
||||||
#
|
#
|
||||||
proc build_core_image {binaries} {
|
proc build_core_image {binaries} {
|
||||||
|
|
||||||
# boot module list without core
|
# boot module list without core
|
||||||
set idx [lsearch $binaries "core"]
|
set idx [lsearch $binaries "core"]
|
||||||
set modules [lreplace $binaries $idx $idx]
|
set modules [lreplace $binaries $idx $idx]
|
||||||
@ -783,6 +784,9 @@ proc build_core_image {binaries} {
|
|||||||
# create core binary containing the boot modules
|
# create core binary containing the boot modules
|
||||||
build_core $core_obj $modules [run_dir]/image.elf
|
build_core $core_obj $modules [run_dir]/image.elf
|
||||||
exec [cross_dev_prefix]strip [run_dir]/image.elf
|
exec [cross_dev_prefix]strip [run_dir]/image.elf
|
||||||
|
|
||||||
|
# remove individual binaries, which are now contained in 'image.elf'
|
||||||
|
exec rm -rf [run_dir]/genode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user