@@ -12,6 +12,11 @@ config BR2_PACKAGE_HOST_PYTHON3_BZIP2
help
bz2 module for host Python3.
+config BR2_PACKAGE_HOST_PYTHON3_XZ
+ bool "xz"
+ help
+ xz (a.k.a lzma) module for host Python3
+
config BR2_PACKAGE_HOST_PYTHON3_CURSES
bool "curses"
help
@@ -57,6 +57,12 @@ else
HOST_PYTHON3_CONF_ENV += py_cv_module__bz2=n/a
endif
+ifeq ($(BR2_PACKAGE_HOST_PYTHON3_XZ),y)
+HOST_PYTHON3_DEPENDENCIES += host-xz
+else
+HOST_PYTHON3_CONF_ENV += py_cv_module__lzma=n/a
+endif
+
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_CURSES),y)
HOST_PYTHON3_DEPENDENCIES += host-ncurses
else
This will be needed by the upcoming host-python-uswid package. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- package/python3/Config.in.host | 5 +++++ package/python3/python3.mk | 6 ++++++ 2 files changed, 11 insertions(+)