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
e32fcf20
Commit
e32fcf20
authored
Nov 21, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified run_bitbake.sh to be run from subprojects, re-wrote used_files.py
parent
4d42bcfe
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
234 additions
and
106 deletions
+234
-106
.gitignore
.gitignore
+3
-0
run_bitbake.sh
scripts/run_bitbake.sh
+11
-2
used_files.py
scripts/used_files.py
+218
-102
setup_eclipse.py
setup_eclipse.py
+2
-2
No files found.
.gitignore
View file @
e32fcf20
...
@@ -8,3 +8,6 @@ rootfs-elphel
...
@@ -8,3 +8,6 @@ rootfs-elphel
tools
tools
bootable-images
bootable-images
projects.json
projects.json
.project
.pydevproject
.settings
scripts/run_bitbake.sh
View file @
e32fcf20
#!/bin/bash
#!/bin/bash
#ls -all
args
=
"
$@
"
args
=
"
$@
"
arg0
=
$0
#echo "arg0=" $arg0
#echo "args=" $args
while
((
"$#"
))
;
do
while
((
"$#"
))
;
do
shift
shift
done
done
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
#DIR0="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR
=
$(
dirname
$(
dirname
$(
dirname
$(
realpath
$(
dirname
$(
dirname
$arg0
))
/sysroots
))))
echo
"DIR="
$DIR
echo
"Launching bitbake
$args
"
echo
"Launching bitbake
$args
"
cd
$DIR
/../../poky
#cd $DIR0/../../poky
cd
$DIR
.
./oe-init-build-env
.
./oe-init-build-env
bitbake
$args
|
sed
-u
's@| @@'
bitbake
$args
|
sed
-u
's@| @@'
exit
0
exit
0
scripts/used_files.py
View file @
e32fcf20
This diff is collapsed.
Click to expand it.
setup_eclipse.py
View file @
e32fcf20
...
@@ -46,7 +46,7 @@ def main():
...
@@ -46,7 +46,7 @@ def main():
should have CDT and EGit plugins installed.
should have CDT and EGit plugins installed.
USAGE:
USAGE:
%
s eclipse-home [[path-to-workspace] project-paths]
%
s eclipse-home [[path-to-workspace] project-paths]
First (mandatory) argument of this program (eclipse-home) is the full path to Eclipse instal
al
tion
First (mandatory) argument of this program (eclipse-home) is the full path to Eclipse instal
la
tion
(directory that has eclipse executable and eclipse.ini files).
(directory that has eclipse executable and eclipse.ini files).
Second (optional) argument (path-to-workspace) is the path to workspace. If not specified,
Second (optional) argument (path-to-workspace) is the path to workspace. If not specified,
then ../workspace_elphel393 will be used.
then ../workspace_elphel393 will be used.
...
@@ -55,7 +55,7 @@ USAGE:
...
@@ -55,7 +55,7 @@ USAGE:
The program will not overwrite or modify any existing workspace.
The program will not overwrite or modify any existing workspace.
"""
%
(
argv
[
0
],))
"""
%
(
argv
[
0
],))
return
return
0
eclipse_home
=
argv
[
1
]
eclipse_home
=
argv
[
1
]
if
(
len
(
argv
)
>
3
):
if
(
len
(
argv
)
>
3
):
...
...
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