python: new module cffi

Foreign Function Interface for Python calling C code.

[Thomas: add dependency on host-pkgconf and libffi, enable on Python 3
since the module builds fine and loads fine with Python 3 as well.]

Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Oli Vogt
2014-05-20 13:53:00 +12:00
committed by Thomas Petazzoni
parent 8793ddcd6f
commit e5bf154592
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_CFFI
bool "python-cffi"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_LIBFFI
help
This is the Foreign Function Interface for Python calling C
code. The aim of this project is to provide a convenient
and reliable way of calling C code from Python.
https://pypi.python.org/pypi/cffi