summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/files/dvsdk-rules/info.sh
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-16 16:08:09 +0200
committerKoen Kooi <koen@openembedded.org>2009-06-16 16:08:09 +0200
commit8687813463bc7c9f37349000f75cfc0967da8458 (patch)
treeeb550c22da7a2d9b35c64aee09172bd9d117c098 /recipes/dvsdk/files/dvsdk-rules/info.sh
parentd895433b6c50e46edd9a75ed512455513f8e00df (diff)
dvsdk: sync with TI overlay (http://arago-project.org/git/people/?p=brijesh/arago-dvsdk.git;a=summary)
* cleanups will follow later
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