Supplement the build of shared libs where needed

This is a follow-up commit to the adaptation of the run scripts to the
consistent use of [build_artifacts] (issue #4860).

The missing build of libm remained undetected until the recent removal
of implicit shared-library builds (issue #5061).
This commit is contained in:
Norman Feske 2023-11-24 11:57:35 +01:00 committed by Christian Helmuth
parent ff740e300a
commit 1e166c7236
5 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,7 @@ if {[have_board rpi]} {
exit 0 exit 0
} }
build { core init lib/ld test/ieee754 lib/posix lib/libc lib/vfs } build { core init lib/ld test/ieee754 lib/posix lib/libc lib/libm lib/vfs }
create_boot_directory create_boot_directory
install_config { install_config {

View File

@ -27,7 +27,10 @@ import_from_depot [depot_user]/src/[base_src] \
[depot_user]/pkg/test_usb_host_drv-[board] \ [depot_user]/pkg/test_usb_host_drv-[board] \
[depot_user]/src/report_rom \ [depot_user]/src/report_rom \
[depot_user]/src/init [depot_user]/src/init
build { test/smartcard lib/vfs_libusb lib/vfs_pipe } build {
lib/libc lib/libm lib/vfs lib/posix lib/libusb lib/vfs_libusb lib/vfs_pipe
test/smartcard
}
install_config { install_config {
<config> <config>
@ -109,7 +112,7 @@ set fd [open [run_dir]/genode/usb_host_drv.config w]
puts $fd $usb_config puts $fd $usb_config
close $fd close $fd
build_boot_image "[build_artifacts] Info.plist" build_boot_image [list {*}[build_artifacts] Info.plist]
run_genode_until { Response: 62 0A 82 01 38 83 02 3F 00 8A 01 05 90 00} 30 run_genode_until { Response: 62 0A 82 01 38 83 02 3F 00 8A 01 05 90 00} 30

View File

@ -17,7 +17,7 @@ if {[have_spec nova]} {
} }
build { build {
core init timer lib/ld core init timer lib/ld lib/libc lib/vfs
server/file_terminal server/terminal_log app/log_core server/file_terminal server/terminal_log app/log_core
} }

View File

@ -10,7 +10,10 @@ if {![platform_supported]} {
exit 0 exit 0
} }
build { core lib/ld init timer monitor test/monitor server/terminal_crosslink } build {
core lib/ld init timer monitor lib/sandbox
test/monitor server/terminal_crosslink
}
create_boot_directory create_boot_directory

View File

@ -33,7 +33,7 @@ if {[have_include power_on/qemu]} {
[depot_user]/src/vfs_lwip \ [depot_user]/src/vfs_lwip \
[depot_user]/src/vfs_pipe [depot_user]/src/vfs_pipe
append build_components { server/tcp_terminal } append build_components { server/tcp_terminal lib/libc lib/libm }
} }
build $build_components build $build_components