From 91e64c3f27bcb0846b5b3cbcaeb2def915b77d18 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Fri, 16 Sep 2022 15:17:51 +0200 Subject: [PATCH] vbox5_genode_usb_hid: remove legacy platform_drv Ref genodelabs/genode#4578 --- repos/ports/run/vbox5_genode_usb_hid_raw.run | 150 +++++++++---------- 1 file changed, 69 insertions(+), 81 deletions(-) diff --git a/repos/ports/run/vbox5_genode_usb_hid_raw.run b/repos/ports/run/vbox5_genode_usb_hid_raw.run index 0ad801b3e8..11deac5b93 100644 --- a/repos/ports/run/vbox5_genode_usb_hid_raw.run +++ b/repos/ports/run/vbox5_genode_usb_hid_raw.run @@ -13,37 +13,34 @@ if { [have_include "power_on/qemu"] || ![have_spec nova] || ![have_spec x86_64]} exit 0 } -set build_components { - drivers/framebuffer - drivers/ps2 - drivers/usb_host - server/log_terminal - server/fs_rom - server/vfs lib/vfs_import - server/report_rom - app/usb_report_filter - virtualbox5 -} - -source ${genode_dir}/repos/base/run/platform_drv.inc - -# override defaults of platform_drv.inc -proc platform_drv_priority {} { return { priority="-1"} } - -append_platform_drv_build_components - -build $build_components +build { app/usb_report_filter } create_boot_directory - import_from_depot [depot_user]/src/[base_src] \ + [depot_user]/src/acpi_drv \ + [depot_user]/src/fs_rom \ [depot_user]/src/init \ + [depot_user]/src/jpeg \ + [depot_user]/src/libc \ + [depot_user]/src/libiconv \ + [depot_user]/src/libyuv \ + [depot_user]/src/log_terminal \ [depot_user]/src/nitpicker \ + [depot_user]/src/pc_usb_host_drv \ + [depot_user]/src/pci_decode \ + [depot_user]/src/platform_drv \ + [depot_user]/src/posix \ + [depot_user]/src/ps2_drv \ + [depot_user]/src/report_rom \ + [depot_user]/src/stdcxx \ + [depot_user]/src/vbox5-nova \ + [depot_user]/src/vesa_drv \ + [depot_user]/src/vfs \ + [depot_user]/src/vfs_import \ [depot_user]/src/vfs_pipe \ - [depot_user]/src/jpeg + [depot_user]/src/zlib - -set config { +install_config { @@ -58,22 +55,59 @@ set config { - } + -append_platform_drv_config + + + + + + + + + + + + + -append config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - @@ -134,9 +168,8 @@ append config { - } -append config "" -append config { + + @@ -148,12 +181,6 @@ append config { - - - - - - @@ -196,18 +223,6 @@ append config { - - - - - - - - - - - - @@ -232,8 +247,6 @@ append config { } -install_config $config - puts "--- executing the 'usb_hid_raw' run script to generate the 'usb_hid_raw.iso' image ---" global specs @@ -262,32 +275,7 @@ exec -ignorestderr \ exec ln -sf ${genode_dir}/repos/ports/run/vm_genode_usb_hid_raw.vbox bin/ exec ln -sf ../../usb_hid_raw.iso bin/ -set boot_modules { - core - init - timer - vesa_fb_drv - ps2_drv - log_terminal - usb_report_filter - fs_rom - vfs vfs.lib.so vfs_import.lib.so - report_rom - virtualbox5-nova - usb_hid_raw.iso - vm_genode_usb_hid_raw.vbox - ld.lib.so libc.lib.so libm.lib.so - libiconv.lib.so stdcxx.lib.so - qemu-usb.lib.so - libyuv.lib.so jpeg.lib.so -} - -append boot_modules " [usb_host_drv_binary] " - -append_platform_drv_boot_modules - - -build_boot_image $boot_modules +build_boot_image { usb_report_filter usb_hid_raw.iso vm_genode_usb_hid_raw.vbox } if { ![get_cmd_switch --autopilot] } { run_genode_until forever }