blob: 5cc3a3ec27cba8d43842ee57835951dc9d2004b9 (
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
|
#!/bin/sh
if [ -z $1 ]; then
ARG="all"
else
ARG=$1
fi
if [ -z $MAKE ]; then
MAKE=`which gmake`
fi
if [ -z $MAKE ]; then
MAKE=make
fi
PLATFORM=posix
if [ ! -f src/platform/posix/features.mk ]; then
cp src/platform/posix/features_tmpl.mk src/platform/posix/features.mk
fi
cd src/ecp
if [ "$ARG" != "clean" ]; then
$MAKE platform=$PLATFORM clean
fi
$MAKE platform=$PLATFORM $ARG || exit
if [ "$ARG" == "all" ]; then
$MAKE platform=$PLATFORM install
fi
cd ../../util
if [ "$ARG" != "clean" ]; then
$MAKE platform=$PLATFORM clean
fi
$MAKE platform=$PLATFORM $ARG || exit
cd ../test
if [ "$ARG" != "clean" ]; then
$MAKE platform=$PLATFORM clean
fi
$MAKE platform=$PLATFORM $ARG || exit
|