From b38a8677a29c759809c9efcd01a73c3f1f1d4bc4 Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Thu, 20 Aug 2015 16:23:07 +0530 Subject: [PATCH] sw_apps: modified openamp matrix multiply for proper OS check This patch modifies openamp matrix multiply application tcl file to check if OS is standalone or freertos for which the application is being built Signed-off-by: Kinjal Pravinbhai Patel Acked by: Anirudha Sarangi --- .../openamp_matrix_multiply/data/openamp_matrix_multiply.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sw_apps/openamp_matrix_multiply/data/openamp_matrix_multiply.tcl b/lib/sw_apps/openamp_matrix_multiply/data/openamp_matrix_multiply.tcl index 6dd17f46..5b0f6cc8 100755 --- a/lib/sw_apps/openamp_matrix_multiply/data/openamp_matrix_multiply.tcl +++ b/lib/sw_apps/openamp_matrix_multiply/data/openamp_matrix_multiply.tcl @@ -46,7 +46,7 @@ proc check_standalone_os {} { } set os [lindex $oslist 0]; - if {{ $os != "standalone" } || { $os != "freertos821_xilinx" }} { + if { ( $os != "standalone" ) && ( $os != "freertos821_xilinx" ) } { error "This application is supported only on the Standalone Board Support Package and freertos821."; } }