crda: override python interperter
authorSamuel Martin <s.martin49@gmail.com>
Wed, 5 Mar 2014 22:04:45 +0000 (23:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 5 Apr 2014 14:43:17 +0000 (16:43 +0200)
commit23dfff36f062944e61254dd1426e256cc2d46aee
tree9891a0a74fcf0e2a1c7f36fac0b5ec7cc7bb78b7
parent09e8b6cd533ed9b42f7e0bc947bae5422646e4c9
crda: override python interperter

During its build, crda calls a python script importing m2crypto module
which requires python2 interpreter.

So, we have a build dependency against host-python.

Also, we make sure this python script is interpreted using the right
python interpreter; we add a patch allowing to enforce this and
explicitly set it.

Fixes:
  http://autobuild.buildroot.net/results/a1e/a1e53d66d3962fd5431e7601937b071a0a3c2084/

[Thomas: fix typos in comments, some of them noticed by Yann.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/crda/crda-0001-Makefile-allow-to-override-python-interpreter.patch [new file with mode: 0644]
package/crda/crda.mk