]> code.ossystems Code Review - openembedded-core.git/commit
scripts: consolidate code to find bitbake path
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 22 Apr 2014 11:07:35 +0000 (12:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jun 2014 10:48:13 +0000 (11:48 +0100)
commit0b5e94e168819134dcda0433c8ae893df4ab13ce
tree6b0e91abf56d7da60c20fb3f25e547adc0d66a5a
parent41bd9dbf6f3e0add6a9e2cb20cfcbff44d785ea4
scripts: consolidate code to find bitbake path

Several of these scripts were using duplicated code (and slightly
different methods) to find the path to bitbake and add its lib
subdirectory to the Python import path. Add some common code to do this
and change the scripts to use it.

Fixes [YOCTO #5076].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/bitbake-whatchanged
scripts/buildhistory-diff
scripts/contrib/list-packageconfig-flags.py
scripts/lib/scriptpath.py [new file with mode: 0644]