mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/python3: add option to support lzma/xz in host-python
This will be needed by the upcoming host-python-uswid package. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f376a75095
commit
8270da3e4f
@@ -12,6 +12,11 @@ config BR2_PACKAGE_HOST_PYTHON3_BZIP2
|
|||||||
help
|
help
|
||||||
bz2 module for host Python3.
|
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
|
config BR2_PACKAGE_HOST_PYTHON3_CURSES
|
||||||
bool "curses"
|
bool "curses"
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -57,6 +57,12 @@ else
|
|||||||
HOST_PYTHON3_CONF_ENV += py_cv_module__bz2=n/a
|
HOST_PYTHON3_CONF_ENV += py_cv_module__bz2=n/a
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_CURSES),y)
|
||||||
HOST_PYTHON3_DEPENDENCIES += host-ncurses
|
HOST_PYTHON3_DEPENDENCIES += host-ncurses
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user