diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-04-29 17:12:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-04-29 17:12:25 +0000 |
| commit | 5d5fab77cf9616bf62023c202b38f309f8bbf189 (patch) | |
| tree | c59369ead177b00e7a20008ec25ac76475203135 /scripts/poky-autobuild | |
| parent | 3d7c155ff801d32a65a922b97f1e46b481120e90 (diff) | |
| download | poky-5d5fab77cf9616bf62023c202b38f309f8bbf189.tar.gz | |
scripts: Allow passing multiple parameters to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-autobuild')
| -rwxr-xr-x | scripts/poky-autobuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 1dd31e2a84..752e0a7bb0 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild | |||
| @@ -31,13 +31,11 @@ if [ "xpreamble" = "x$1" ]; then | |||
| 31 | exit 0 | 31 | exit 0 |
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | BBTARGET="$1" | 34 | BDIR="build" |
| 35 | shift | ||
| 36 | |||
| 37 | . ./scripts/poky-env-internal | 35 | . ./scripts/poky-env-internal |
| 38 | POSTPROCESS=`which poky-autobuild-postprocess` | 36 | POSTPROCESS=`which poky-autobuild-postprocess` |
| 39 | 37 | ||
| 40 | if [ "xcomplete" = "x$BBTARGET" ]; then | 38 | if [ "xcomplete" = "x$1" ]; then |
| 41 | touch ./tmp/deploy/images/images-complete | 39 | touch ./tmp/deploy/images/images-complete |
| 42 | chmod a+w ./tmp/deploy/images/images-complete | 40 | chmod a+w ./tmp/deploy/images/images-complete |
| 43 | cd .. | 41 | cd .. |
| @@ -59,7 +57,7 @@ if [ ! -e "$CONFFILE" ]; then | |||
| 59 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" | 57 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" |
| 60 | fi | 58 | fi |
| 61 | 59 | ||
| 62 | bitbake $BBTARGET | 60 | bitbake $@ |
| 63 | 61 | ||
| 64 | cd .. | 62 | cd .. |
| 65 | 63 | ||
