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
f0be48d5
Commit
f0be48d5
authored
Dec 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
works for both: jethro and rocko
parent
81cc0e70
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 @
f0be48d5
#!/bin/bash
#!/bin/bash
#ls -all
#ls -all
args
=
"
$@
"
args
=
"
$@
"
arg0
=
$0
arg0
=
$0
#echo "arg0=" $arg0
#echo "arg0=" $arg0
#echo "args=" $args
#echo "args=" $args
while
((
"$#"
))
;
do
while
((
"$#"
))
;
do
shift
shift
done
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
"
echo
"Launching bitbake
$args
"
#cd $DIR0/../../poky
#cd $DIR0/../../poky
cd
$DIR
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