diff options
Diffstat (limited to 'scripts/poky-autobuild')
| -rwxr-xr-x | scripts/poky-autobuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 7e027ba9f8..586a57eb55 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild | |||
| @@ -31,10 +31,11 @@ if [ "xpreamble" = "x$1" ]; then | |||
| 31 | exit 0 | 31 | exit 0 |
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | POSTPROCESS=`which poky-autobuild-postprocess` | ||
| 35 | |||
| 34 | if [ "xcomplete" = "x$1" ]; then | 36 | if [ "xcomplete" = "x$1" ]; then |
| 35 | touch ./build/tmp/deploy/images/images-complete | 37 | touch ./build/tmp/deploy/images/images-complete |
| 36 | chmod a+w ./build/tmp/deploy/images/images-complete | 38 | chmod a+w ./build/tmp/deploy/images/images-complete |
| 37 | POSTPROCESS=`which poky-autobuild-postprocess` | ||
| 38 | if [ "x$POSTPROCESS" != "x" ]; then | 39 | if [ "x$POSTPROCESS" != "x" ]; then |
| 39 | $POSTPROCESS `pwd` | 40 | $POSTPROCESS `pwd` |
| 40 | fi | 41 | fi |
| @@ -59,3 +60,8 @@ shift | |||
| 59 | . ./scripts/poky-env-internal | 60 | . ./scripts/poky-env-internal |
| 60 | 61 | ||
| 61 | bitbake $BBTARGET | 62 | bitbake $BBTARGET |
| 63 | |||
| 64 | if [ "x$POSTPROCESS" != "x" ]; then | ||
| 65 | $POSTPROCESS `pwd` | ||
| 66 | fi | ||
| 67 | |||
