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

LIBS=""
for lib in \
    TraceUtil.a \
    bioslog.a \
    video.a \
    audio.a \
    speech.a \
    ce.a \
    Algorithm_noOS.a \
    alg.a \
    osal_linux_470.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