From 2bb901e1e31557d5aae2362d8b100cc69b47a39d Mon Sep 17 00:00:00 2001 From: Sebastian Sumpf Date: Tue, 12 Sep 2023 18:08:09 +0200 Subject: [PATCH] rpi: disable run scripts that use 'drivers_nic_rpi' The 'drivers_nic_rpi' packet uses the 'usb_net_drv' which is currently not supported by the virt_linux version. --- repos/libports/run/fetchurl.inc | 2 +- repos/libports/run/lwip.run | 3 ++- repos/ports/run/netperf.inc | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/repos/libports/run/fetchurl.inc b/repos/libports/run/fetchurl.inc index 1c8cf59699..ddf7aac34c 100644 --- a/repos/libports/run/fetchurl.inc +++ b/repos/libports/run/fetchurl.inc @@ -4,7 +4,7 @@ # \date 2016-06-05 # -if {[have_board rpi3] || [have_board imx53_qsb_tz]} { +if {[have_board rpi3] || [have_board imx53_qsb_tz] || [have_board rpi]} { puts "Run script does not support this platform." exit 0 } diff --git a/repos/libports/run/lwip.run b/repos/libports/run/lwip.run index 3300f05b85..5b0ceea553 100644 --- a/repos/libports/run/lwip.run +++ b/repos/libports/run/lwip.run @@ -19,7 +19,8 @@ if {[have_board linux] || [have_board imx53_qsb_tz] || - [have_board rpi3]} { + [have_board rpi3] || + [have_board rpi]} { puts "\n Run script is not supported on this platform. \n"; exit 0 } if {[get_cmd_switch --autopilot] && [have_board virt_qemu_riscv]} { diff --git a/repos/ports/run/netperf.inc b/repos/ports/run/netperf.inc index 51935fb7aa..ad4eb7804d 100644 --- a/repos/ports/run/netperf.inc +++ b/repos/ports/run/netperf.inc @@ -32,7 +32,7 @@ if {[have_include "power_on/qemu"]} { exit 0 } -if {[have_board imx53_qsb_tz]} { +if {[have_board imx53_qsb_tz] || [have_board rpi]} { puts "Run script is not supported on this platform." exit 0 }