python-falcon: add optional dependency on host-python-cython

Falcon can be compiled into shared objects using Cython.
Compiled version works much faster than pure-python one.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.11.x
Grzegorz Blach 2018-08-30 12:18:47 +02:00 committed by Thomas Petazzoni
parent 5f540c9109
commit 763c2db314
1 changed files with 4 additions and 0 deletions

View File

@ -11,4 +11,8 @@ PYTHON_FALCON_SETUP_TYPE = setuptools
PYTHON_FALCON_LICENSE = Apache-2.0
PYTHON_FALCON_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_HOST_PYTHON_CYTHON),y)
PYTHON_FALCON_DEPENDENCIES += host-python-cython
endif
$(eval $(python-package))