summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/files/dvsdk-rules/info.sh
blob: 59d36149cf24ed1e57cd6ea2b9b31a5407d2d006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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