Commit ed407902 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

Merge branch 'master' into rocko

parents 59a133b0 f0be48d5
......@@ -8,10 +8,19 @@ arg0=$0
while (( "$#" )); do
shift
done
#DIR0="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR=$(dirname $(dirname $(dirname $(realpath $(dirname $(dirname $arg0))/sysroots))))
echo "DIR=" $DIR
DIR=$(realpath $(dirname $(dirname $arg0))/sysroots)
# works for Poky Jethro - Rocko
# move up until Poky's init script is found
while ([ ! -f $DIR/oe-init-build-env ]);do
DIR=$(dirname $DIR)
if [ "e$DIR" = 'e/' ]; then
break
fi
done
echo "DIR= $DIR"
echo "Launching bitbake $args"
#cd $DIR0/../../poky
cd $DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment