[Buildroot] [PATCH 0/2] Allow host python3 without a target python

Trent Piepho tpiepho at impinj.com
Mon Apr 30 19:23:57 UTC 2018


It's currently not possible to select the default host python to be
python3 without also turning on target python3.

There was a previous patch that attemped to resolve this
https://patchwork.ozlabs.org/patch/854602/ but there were issues.

This should solve those issues, using the approach I described in
comment #4.

This series does not yet hunt down every non-python-package that uses
host-python to make sure it gets the proper host python version.  I just
did the packages I needed to test with our project and will wait to see
if the approach is accepted before working on the remaining packages.

Trent Piepho (2):
  host-python: Select host python version when no target python
  packages: Use PKG_PYTHON_HOST_PYTHON for host python

 package/Config.in.host         | 1 +
 package/gtest/gtest.mk         | 5 ++---
 package/ninja/ninja.mk         | 3 +--
 package/pkg-python.mk          | 6 +++++-
 package/python/python.mk       | 2 +-
 package/python3/Config.in.host | 8 ++++++++
 package/python3/python3.mk     | 2 +-
 7 files changed, 19 insertions(+), 8 deletions(-)
 create mode 100644 package/python3/Config.in.host

-- 
2.14.3




More information about the buildroot mailing list