mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
scripts/poky-autobuild: Fix ordering
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4362 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -31,10 +31,13 @@ if [ "xpreamble" = "x$1" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BBTARGET="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
. ./scripts/poky-env-internal
|
. ./scripts/poky-env-internal
|
||||||
POSTPROCESS=`which poky-autobuild-postprocess`
|
POSTPROCESS=`which poky-autobuild-postprocess`
|
||||||
|
|
||||||
if [ "xcomplete" = "x$1" ]; then
|
if [ "xcomplete" = "x$BBTARGET" ]; then
|
||||||
touch ./build/tmp/deploy/images/images-complete
|
touch ./build/tmp/deploy/images/images-complete
|
||||||
chmod a+w ./build/tmp/deploy/images/images-complete
|
chmod a+w ./build/tmp/deploy/images/images-complete
|
||||||
if [ "x$POSTPROCESS" != "x" ]; then
|
if [ "x$POSTPROCESS" != "x" ]; then
|
||||||
@@ -55,9 +58,6 @@ if [ ! -e "$CONFFILE" ]; then
|
|||||||
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
|
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BBTARGET="$1"
|
|
||||||
shift
|
|
||||||
|
|
||||||
bitbake $BBTARGET
|
bitbake $BBTARGET
|
||||||
|
|
||||||
if [ "x$POSTPROCESS" != "x" ]; then
|
if [ "x$POSTPROCESS" != "x" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user