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>
This commit is contained in:
parent
5f540c9109
commit
763c2db314
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user