mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/python: add option to build on the host
Some python scripts may be ran in the custom scripts a user can define in the config. Allow the user to enable host-python explicitly. If any of those require ssl, they will fail with no possible fix. Add an option to enable openssl as well. This is made optional because openssl significantly increases the build time. Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
f1407c4967
commit
a8f3057da3
@@ -32,7 +32,6 @@ HOST_PYTHON_CONF_OPTS += \
|
||||
--disable-bsddb \
|
||||
--disable-test-modules \
|
||||
--disable-bz2 \
|
||||
--disable-ssl \
|
||||
--disable-ossaudiodev \
|
||||
--disable-pyo-build
|
||||
|
||||
@@ -58,6 +57,12 @@ PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
HOST_PYTHON_DEPENDENCIES = host-expat host-zlib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_PYTHON_SSL),y)
|
||||
HOST_PYTHON_DEPENDENCIES += host-openssl
|
||||
else
|
||||
HOST_PYTHON_CONF_OPTS += --disable-ssl
|
||||
endif
|
||||
|
||||
PYTHON_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y)
|
||||
|
||||
Reference in New Issue
Block a user