Commit 3895e549 authored by Andrey Filippov's avatar Andrey Filippov

was not added

parent ba39daa8
#!/bin/bash
#ls -all
args="$@"
arg0=$0
#echo "arg0=" $arg0
#echo "args=" $args
while (( "$#" )); do
shift
done
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
. ./oe-init-build-env
bitbake $args | sed -u 's@| @@'
exit 0
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