Skip to content

host-python2 hard dependency

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am 20140405174215.20b771eb@skate

Versions newest first

  1. v1 Latest1 of 6 patches 0 repliesNew

1 of 6 patches is in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/6pkg-python: support host-python dependency different from the python in the target+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] host-python2 hard dependency

Dear Samuel Martin,

Quoted 8 lines · Samuel Martin

Samuel Martin (6):
python: rework python symlinks installation
python3: rework python symlinks installation
pkg-python: support host-python dependency different from the python
in the target
scons: force host-python dependency to be python2
python-m2crypto: requires host-python2
crda: override python interperter

I've applied your patch series, after making a number of changes, according to Yann's review. The main change was the renaming of the variable from <pkg>_FORCE_HOST_PYTHON to <pkg>_NEEDS_HOST_PYTHON. You'll find all the details in the commit logs of the different commits.

I've also added a separate commit to fix an unrelated issue I stumbled upon while testing your patch series.

With your patch series, I've been able to test the following configurations:

* Build a system with python2 as the target interpreter, with all python external modules enabled, the crda package (which needs the host python2 interpreter) as well as gpsd and exfat (which need host-scons, which in turns needs the host python2 interpreter)

* Build a system with python3 as the target interpreter, with all python external modules enabled, the crda package (which needs the host python2 interpreter) as well as gpsd and exfat (which need host-scons, which in turns needs the host python2 interpreter)

Both builds went fine.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com