diff options
Diffstat (limited to 'scripts/poky-autobuild')
-rwxr-xr-x | scripts/poky-autobuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index b4a4790841..bacaca97cd 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild | |||
@@ -31,10 +31,13 @@ if [ "xpreamble" = "x$1" ]; then | |||
31 | exit 0 | 31 | exit 0 |
32 | fi | 32 | fi |
33 | 33 | ||
34 | BBTARGET="$1" | ||
35 | shift | ||
36 | |||
34 | . ./scripts/poky-env-internal | 37 | . ./scripts/poky-env-internal |
35 | POSTPROCESS=`which poky-autobuild-postprocess` | 38 | POSTPROCESS=`which poky-autobuild-postprocess` |
36 | 39 | ||
37 | if [ "xcomplete" = "x$1" ]; then | 40 | if [ "xcomplete" = "x$BBTARGET" ]; then |
38 | touch ./build/tmp/deploy/images/images-complete | 41 | touch ./build/tmp/deploy/images/images-complete |
39 | chmod a+w ./build/tmp/deploy/images/images-complete | 42 | chmod a+w ./build/tmp/deploy/images/images-complete |
40 | if [ "x$POSTPROCESS" != "x" ]; then | 43 | if [ "x$POSTPROCESS" != "x" ]; then |
@@ -55,9 +58,6 @@ if [ ! -e "$CONFFILE" ]; then | |||
55 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" | 58 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" |
56 | fi | 59 | fi |
57 | 60 | ||
58 | BBTARGET="$1" | ||
59 | shift | ||
60 | |||
61 | bitbake $BBTARGET | 61 | bitbake $BBTARGET |
62 | 62 | ||
63 | if [ "x$POSTPROCESS" != "x" ]; then | 63 | if [ "x$POSTPROCESS" != "x" ]; then |