From 92541c49a68fbe51a83699212ad5f698b2bf6760 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Tue, 29 Sep 2015 10:21:08 +0200 Subject: [PATCH] netperf: don't run script on hw_wand_quad --- repos/ports/run/netperf.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/repos/ports/run/netperf.inc b/repos/ports/run/netperf.inc index c8b1d4cbcc..6d15b9bf33 100644 --- a/repos/ports/run/netperf.inc +++ b/repos/ports/run/netperf.inc @@ -9,7 +9,7 @@ if {[have_include "power_on/qemu"]} { exit } -if {[have_spec hw_odroid_xu]} { +if {[have_spec hw_odroid_xu] || [have_spec hw_wand_quad]} { puts "Run script does not support this platform." exit 0 } @@ -20,7 +20,9 @@ if {![info exists use_usb_driver]} { set use_nic_driver [expr !$use_usb_driver && ![have_spec imx53] && !$use_wifi_driver] if {[expr !$use_usb_driver && !$use_nic_driver && !$use_wifi_driver]} { - puts "\n Run script is not supported on this platform. \n"; exit 0 } + puts "Run script is not supported on this platform."; + exit 0 +} # provide wifi related variables in case we do not use the wifi driver if {!$use_wifi_driver} {