From 85e69f6882548b294f9b1636e49afc95f769318c Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Tue, 27 Sep 2022 11:23:23 +0200 Subject: [PATCH] driver_time.run: remove legacy platform_drv Ref genodelabs/genode#4578 --- repos/pc/run/driver_time.run | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/repos/pc/run/driver_time.run b/repos/pc/run/driver_time.run index edd4ad863b..f3b439615c 100644 --- a/repos/pc/run/driver_time.run +++ b/repos/pc/run/driver_time.run @@ -11,30 +11,16 @@ set use_top 0 set build_components { core init timer + drivers/platform test/driver_time } append_if $use_top build_components { app/top } - -source ${genode_dir}/repos/base/run/platform_drv.inc -append_platform_drv_build_components - build $build_components create_boot_directory -# override default platform driver policy -proc platform_drv_policy {} { - return { - - } -} - -# -# Generate config -# - append config { @@ -58,12 +44,18 @@ append config { + + + + + + + + } -append_platform_drv_config - append_if $use_top config { @@ -79,16 +71,15 @@ install_config $config # Boot modules # +file copy [select_from_repositories board/[board]/devices] [run_dir]/genode/devices + # generic modules set boot_modules { - core ld.lib.so init timer + core ld.lib.so init timer platform_drv test-driver_time } append_if $use_top boot_modules { top } - -append_platform_drv_boot_modules - build_boot_image $boot_modules append qemu_args "-nographic "