package/python-twisted: add config for HTTP2 support

Add an option that selects all of the necessary python packages to
ensure that twisted has HTTP2 support.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Adam Duskett 2019-12-05 14:15:14 -08:00 committed by Thomas Petazzoni
parent 7f5960952f
commit e6dce8f59d
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ config BR2_PACKAGE_PYTHON_TWISTED
if BR2_PACKAGE_PYTHON_TWISTED
config BR2_PACKAGE_PYTHON_TWISTED_HTTP2
bool "HTTP2 support"
select BR2_PACKAGE_PYTHON_H2 # runtime
select BR2_PACKAGE_PYTHON_PRIORITY # runtime
config BR2_PACKAGE_PYTHON_TWISTED_TLS
bool "TLS support"
depends on BR2_INSTALL_LIBSTDCPP # python-{pyopenssl,service-identity}