Last change
on this file was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
-
Property svn:executable
set to
*
|
File size:
569 bytes
|
Line | |
---|
1 | #! /bin/sh
|
---|
2 | #ARCH_DIR=$(uname -m)
|
---|
3 | ARCH_DIR=core2-64
|
---|
4 |
|
---|
5 | #defaults options values
|
---|
6 | PORT=9000
|
---|
7 | NAME="FlairGCS"
|
---|
8 |
|
---|
9 | usage() {
|
---|
10 | USAGE="usage: $0 [-n name] [-p port] [-?]|[-h]"
|
---|
11 | echo $USAGE;
|
---|
12 | exit 1
|
---|
13 | }
|
---|
14 |
|
---|
15 | while getopts h?n:p: OPT; do
|
---|
16 | case $OPT in
|
---|
17 | n) NAME=$OPTARG;;
|
---|
18 | p) PORT=$OPTARG;;
|
---|
19 | h|\?) usage;;
|
---|
20 | esac
|
---|
21 | done
|
---|
22 | shift `expr $OPTIND - 1`
|
---|
23 |
|
---|
24 | #bail out in case unknown options remain
|
---|
25 | [ "$1" = "--" ] && usage
|
---|
26 |
|
---|
27 | export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
|
---|
28 | $FLAIR_ROOT/flair-install/bin/tools/${ARCH_DIR}/flairgcs -n $NAME -p $PORT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.