Commit Graph

3 Commits

Author SHA1 Message Date
Christopher Larson
6ac1c14748 oe.external: run in topdir, not tmpdir
If we run in tmpdir, and run a bitbake -e after wiping tmpdir,
EXTERNAL_TOOLCHAIN_SYSROOT will be 'UNKNOWN' rather than the correct path, due
to PWD not existing when we try to extract the sysroot path.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-01 10:53:31 -07:00
Christopher Larson
ea5aec7ba7 oe.external: use bb.process.run
oe.path.check_output was returning a bytes, not an str. Switch to bb.process
to resolve issues with python3.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-02 08:03:17 -07:00
Christopher Larson
bfc86fd9c4 oe.external: move common functions here
Also provide external-common.bbclass to wrap its inclusion and setup
associated metadata. This will make easier to search sysroots for files
without pulling in the rest of the external toolchain class.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:10:51 -07:00