mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-11 15:04:20 +00:00
tool_chain_auto.run: use [build_artifacts]
The run script used to miss a few build targets for boot modules specified at the 'build_boot_image' step.
This commit is contained in:
parent
57b66987dd
commit
a27e46989f
@ -72,6 +72,8 @@ if {[have_spec x86]} {
|
|||||||
set arch "x86_64"
|
set arch "x86_64"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set build_components { core lib/ld lib/vfs lib/vfs_pipe lib/libc server/vfs }
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build packages only once
|
# Build packages only once
|
||||||
#
|
#
|
||||||
@ -80,9 +82,6 @@ set pkgs "$binutils $gcc"
|
|||||||
foreach pkg $pkgs {
|
foreach pkg $pkgs {
|
||||||
lappend_if [expr ![file exists bin/$pkg]] build_components noux-pkg/$pkg }
|
lappend_if [expr ![file exists bin/$pkg]] build_components noux-pkg/$pkg }
|
||||||
|
|
||||||
lappend build_components "lib/vfs_pipe"
|
|
||||||
lappend build_components "server/vfs"
|
|
||||||
|
|
||||||
build $build_components
|
build $build_components
|
||||||
|
|
||||||
# write default .bash_profile file
|
# write default .bash_profile file
|
||||||
@ -251,17 +250,7 @@ install_config {
|
|||||||
|
|
||||||
</config>}
|
</config>}
|
||||||
|
|
||||||
|
build_boot_image [list {*}[build_artifacts] bash_profile genode.tar $binutils.tar $gcc.tar]
|
||||||
#
|
|
||||||
# Boot modules
|
|
||||||
#
|
|
||||||
|
|
||||||
append boot_modules { bash_profile genode.tar }
|
|
||||||
lappend boot_modules "$binutils.tar" "$gcc.tar"
|
|
||||||
lappend boot_modules libc.lib.so vfs.lib.so vfs_pipe.lib.so vfs
|
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
|
||||||
|
|
||||||
|
|
||||||
append qemu_args " -nographic -m 800 "
|
append qemu_args " -nographic -m 800 "
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user