summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/poky-autobuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild
index beef20a01..4c93aa079 100755
--- a/scripts/poky-autobuild
+++ b/scripts/poky-autobuild
@@ -49,6 +49,9 @@ if [ ! -e "$CONFFILE" ]; then
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
fi
+BBTARGET="$1"
+shift
+
. ./scripts/poky-env-internal
-bitbake $1
+bitbake $BBTARGET