diff options
Diffstat (limited to 'scripts/poky-autobuild-moblin')
-rwxr-xr-x | scripts/poky-autobuild-moblin | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/scripts/poky-autobuild-moblin b/scripts/poky-autobuild-moblin index 8662063095..90ee931eba 100755 --- a/scripts/poky-autobuild-moblin +++ b/scripts/poky-autobuild-moblin | |||
@@ -21,15 +21,19 @@ | |||
21 | SRVWORKDIR=/home/rpurdie | 21 | SRVWORKDIR=/home/rpurdie |
22 | TARGETDIR=$SRVWORKDIR/httpd/autobuild-output | 22 | TARGETDIR=$SRVWORKDIR/httpd/autobuild-output |
23 | CURRDIR=`pwd` | 23 | CURRDIR=`pwd` |
24 | if [ "$CURRDIR" = "$SRVWORKDIR/poky/full-shihtzu/build" ]; then | 24 | if [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-shihtzu/build" ]; then |
25 | ABTARGET="poky" | 25 | ABTARGET="poky" |
26 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky/full-bleeding-shihtzu/build" ]; then | 26 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-bleeding-shihtzu/build" ]; then |
27 | ABTARGET="poky-bleeding" | 27 | ABTARGET="poky-bleeding" |
28 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky/toolchain-shihtzu/build" ]; then | 28 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/toolchain-shihtzu/build" ]; then |
29 | ABTARGET="toolchain" | 29 | ABTARGET="toolchain" |
30 | elif [ "$CURRDIR" = "$SRVWORKDIR/pokky/incremental-shihtzu/build" ]; then | 30 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/incremental-shihtzu/build" ]; then |
31 | ABTARGET="incremental" | 31 | ABTARGET="incremental" |
32 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky/full-darwin-shihtzu/build" ]; then | 32 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-incremental/build" ]; then |
33 | ABTARGET="moblin-incremental" | ||
34 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-full/build" ]; then | ||
35 | ABTARGET="moblin-full" | ||
36 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-darwin-shihtzu/build" ]; then | ||
33 | ABTARGET="darwin" | 37 | ABTARGET="darwin" |
34 | if [ ! -d "$CURRDIR/meta-darwin" ]; then | 38 | if [ ! -d "$CURRDIR/meta-darwin" ]; then |
35 | svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin | 39 | svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin |
@@ -43,7 +47,7 @@ fi | |||
43 | if [ "xpreamble" = "x$1" ]; then | 47 | if [ "xpreamble" = "x$1" ]; then |
44 | mkdir -p ./build/tmp/deploy/images | 48 | mkdir -p ./build/tmp/deploy/images |
45 | rm -f ./build/tmp/deploy/images/images-complete | 49 | rm -f ./build/tmp/deploy/images/images-complete |
46 | #svn info > ./build/tmp/deploy/images/svninfo | 50 | git log -1 > ./build/tmp/deploy/images/svninfo |
47 | exit 0 | 51 | exit 0 |
48 | fi | 52 | fi |
49 | 53 | ||
@@ -95,9 +99,9 @@ bitbake $@ | |||
95 | 99 | ||
96 | retval=$? | 100 | retval=$? |
97 | 101 | ||
98 | if [ "x$POSTPROCESS" != "x" ]; then | 102 | #if [ "x$POSTPROCESS" != "x" ]; then |
99 | cd .. | 103 | # cd .. |
100 | $POSTPROCESS $ABTARGET $TARGETDIR | 104 | # $POSTPROCESS $ABTARGET $TARGETDIR |
101 | fi | 105 | #fi |
102 | 106 | ||
103 | exit $retval | 107 | exit $retval |