summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/files/dvsdk-rules/info.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dvsdk/files/dvsdk-rules/info.sh')
-rwxr-xr-xrecipes/dvsdk/files/dvsdk-rules/info.sh58
1 files changed, 58 insertions, 0 deletions
diff --git a/recipes/dvsdk/files/dvsdk-rules/info.sh b/recipes/dvsdk/files/dvsdk-rules/info.sh
new file mode 100755
index 0000000000..59d36149cf
--- /dev/null
+++ b/recipes/dvsdk/files/dvsdk-rules/info.sh
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+echo "Listing information about the DVSDK components:"
+echo
+
+if [ ! -e $XDC_INSTALL_DIR ]
+then
+ echo "Fatal!: XDC tools not found in $XDC_INSTALL_DIR, check Rules.make.."
+ echo "Aborting!"
+ exit
+fi
+
+for x in $REPOSITORIES
+do
+ echo "*******************************************************************************"
+ echo "Listing package information for repository:"
+ echo $x
+ echo
+ XDC_PATH="$XDC_INSTALL_DIR" $XDC_INSTALL_DIR/xs xdc.tools.path -Pr $x
+done
+
+echo "*******************************************************************************"
+if [ -e $LINUXKERNEL_INSTALL_DIR ]
+then
+ echo "Using Linux kernel from:"
+ echo $LINUXKERNEL_INSTALL_DIR
+else
+ echo "WARNING: Linux kernel not found:"
+ echo $LINUXKERNEL_INSTALL_DIR
+fi
+echo
+
+echo "*******************************************************************************"
+echo "TI c6x codegen tool version:"
+echo $CODEGEN_INSTALL_DIR/bin/cl6x
+echo
+if [ -f $CODEGEN_INSTALL_DIR/bin/cl6x ]
+then
+ $CODEGEN_INSTALL_DIR/bin/cl6x -version
+else
+ echo "WARNING: TI codegen not found!"
+ echo
+fi
+
+echo
+echo "*******************************************************************************"
+echo "GCC compiler version:"
+echo "$GCC_PREFIX"gcc
+echo
+if [ -f "$GCC_PREFIX"gcc ]
+then
+ "$GCC_PREFIX"gcc --version
+else
+ echo "WARNING: gcc tool chain not found!"
+ echo
+fi
+
+echo