Commit e32fcf20 authored by Andrey Filippov's avatar Andrey Filippov

modified run_bitbake.sh to be run from subprojects, re-wrote used_files.py

parent 4d42bcfe
......@@ -8,3 +8,6 @@ rootfs-elphel
tools
bootable-images
projects.json
.project
.pydevproject
.settings
#!/bin/bash
#ls -all
args="$@"
arg0=$0
#echo "arg0=" $arg0
#echo "args=" $args
while (( "$#" )); do
shift
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"
cd $DIR/../../poky
#cd $DIR0/../../poky
cd $DIR
. ./oe-init-build-env
bitbake $args | sed -u 's@| @@'
exit 0
This diff is collapsed.
......@@ -46,7 +46,7 @@ def main():
should have CDT and EGit plugins installed.
USAGE:
%s eclipse-home [[path-to-workspace] project-paths]
First (mandatory) argument of this program (eclipse-home) is the full path to Eclipse instalaltion
First (mandatory) argument of this program (eclipse-home) is the full path to Eclipse installation
(directory that has eclipse executable and eclipse.ini files).
Second (optional) argument (path-to-workspace) is the path to workspace. If not specified,
then ../workspace_elphel393 will be used.
......@@ -55,7 +55,7 @@ USAGE:
The program will not overwrite or modify any existing workspace.
"""%(argv[0],))
return
return 0
eclipse_home = argv[1]
if (len(argv) > 3):
......
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