summaryrefslogtreecommitdiff
path: root/packages/dsplink/files/ticel-config
blob: 13ab6b02be50cea41d63d6521757de01e28a9a5c (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
#!/bin/sh

LIBS=""
for lib in \
    decode_x470MV.a \
    TraceUtil.a \
    bioslog.a \
    video.a \
    audio.a \
    speech.a \
    ce.a \
    Algorithm_noOS.a \
    alg.a \
    osal_dsplink_linux.a \
    osal_dsplink_linux_6446.a \
    dman3Cfg.a \
    acpy3.a \
    cmem.a \
    dsplink.lib \
    XdmUtils.a \
    gt.a
do
    LIBS="${LIBS} SEDME_STAGINGLIBDIR/${lib}"
done

CFLAGS="SEDME_CFLAGS"

usage()
{
    echo "Usage : $0 [--cflags] [--libs]"
    exit 1
}

test "$#" = 0 && usage

OUT=""
while test "$#" -gt 0;
do
    case "$1" in
        "--cflags")
            OUT="${OUT} ${CFLAGS}"
        ;;
        "--libs")
            OUT="${OUT} ${LIBDIRS} ${LIBS}"
        ;;
        *)
            usage
        ;;
    esac

    shift
done

echo "${OUT}"
exit 0