summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-04-03 16:11:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-05 11:46:34 +0100
commit869020dac889e9ed79a294f308a87cfd946a68bd (patch)
tree53853c4d3cbd3fd84959dad6e5e91821c010826b /meta/recipes-devtools/binutils
parente238fa177bd72bc5d165fbe4f640132267a1d3fd (diff)
downloadopenembedded-core-contrib-869020dac889e9ed79a294f308a87cfd946a68bd.tar.gz
scripts/install-buildtools: refactor for Python 3.4
Our least common denominator supported distro is debian-8 which has python 3.4. The whole point of the install-buildtools script is to make it easier on the user to install buildtools tarball. So it needs to run on Python 3.4. The way we checked if the install was successful in the prior version of the script was not workable in python 3.4. Since the environment-setup-... script is currently just exporting environment variables, use os.environ to do the equivalent from values gleaned via regex from the environment-setup-... file. Corrected a couple minor whitespace errors NOTE: License changed to GPL-2.0-only due to inclusion of code copied directly from bitbake/lib/bb/utils.py. This avoids the need to depend on bitbake, which is now Python 3.5+ only. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
0 files changed, 0 insertions, 0 deletions