Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
ed407902
Commit
ed407902
authored
Dec 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into rocko
parents
59a133b0
f0be48d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
run_bitbake.sh
scripts/run_bitbake.sh
+13
-4
No files found.
scripts/run_bitbake.sh
View file @
ed407902
#!/bin/bash
#ls -all
args
=
"
$@
"
arg0
=
$0
arg0
=
$0
#echo "arg0=" $arg0
#echo "args=" $args
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment