Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
|
||||
Subject: [PATCH] Add an option to disable openssl support.
|
||||
|
||||
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
|
||||
---
|
||||
configure.ac | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3027,6 +3027,12 @@
|
||||
DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
|
||||
fi])
|
||||
|
||||
+AC_ARG_ENABLE(openssl,
|
||||
+ AS_HELP_STRING([--disable-openssl], [disable openssl support]),
|
||||
+ [ if test "$enableval" = "no"; then
|
||||
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
|
||||
+ fi])
|
||||
+
|
||||
AC_SUBST(TK)
|
||||
AC_ARG_ENABLE(tk,
|
||||
AS_HELP_STRING([--disable-tk], [disable tk]),
|
||||
@@ -40,8 +40,8 @@ menu "core python3 modules"
|
||||
comment "The following modules are unusual or require extra libraries"
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_BZIP2
|
||||
select BR2_PACKAGE_BZIP2
|
||||
bool "bz2 module"
|
||||
select BR2_PACKAGE_BZIP2
|
||||
help
|
||||
bzip2 module for Python3
|
||||
|
||||
@@ -51,14 +51,14 @@ config BR2_PACKAGE_PYTHON3_CODECSCJK
|
||||
Chinese/Japanese/Korean codecs module for Python (large).
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_CURSES
|
||||
select BR2_PACKAGE_NCURSES
|
||||
bool "curses module"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
curses module for Python3.
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_DECIMAL
|
||||
select BR2_PACKAGE_MPDECIMAL
|
||||
bool "decimal module"
|
||||
select BR2_PACKAGE_MPDECIMAL
|
||||
help
|
||||
decimal module for Python3.
|
||||
|
||||
@@ -68,15 +68,15 @@ config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
|
||||
ossaudiodev module for Python3.
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_READLINE
|
||||
select BR2_PACKAGE_READLINE
|
||||
bool "readline"
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
readline module for Python3 (required for command-line
|
||||
editing in the Python shell).
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_SSL
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
bool "ssl"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
_ssl module for Python3 (required for https in urllib etc).
|
||||
|
||||
@@ -93,11 +93,17 @@ config BR2_PACKAGE_PYTHON3_SQLITE
|
||||
SQLite database support
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_PYEXPAT
|
||||
select BR2_PACKAGE_EXPAT
|
||||
bool "xml module"
|
||||
select BR2_PACKAGE_EXPAT
|
||||
help
|
||||
pyexpat and xml libraries for Python3.
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_XZ
|
||||
bool "xz module"
|
||||
select BR2_PACKAGE_XZ
|
||||
help
|
||||
xz (a.k.a lzma) module for Python3
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_ZLIB
|
||||
bool "zlib module"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
|
||||
@@ -36,13 +36,17 @@ HOST_PYTHON3_CONF_OPTS += \
|
||||
--enable-unicodedata \
|
||||
--disable-test-modules \
|
||||
--disable-idle3 \
|
||||
--disable-ossaudiodev
|
||||
--disable-ossaudiodev \
|
||||
--disable-openssl
|
||||
|
||||
# Make sure that LD_LIBRARY_PATH overrides -rpath.
|
||||
# This is needed because libpython may be installed at the same time that
|
||||
# python is called.
|
||||
# Make python believe we don't have 'hg', so that it doesn't try to
|
||||
# communicate over the network during the build.
|
||||
HOST_PYTHON3_CONF_ENV += \
|
||||
LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags"
|
||||
LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \
|
||||
ac_cv_prog_HAS_HG=/bin/false
|
||||
|
||||
PYTHON3_DEPENDENCIES = host-python3 libffi
|
||||
|
||||
@@ -100,6 +104,10 @@ ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y)
|
||||
PYTHON3_DEPENDENCIES += bzip2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y)
|
||||
PYTHON3_DEPENDENCIES += xz
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y)
|
||||
PYTHON3_DEPENDENCIES += zlib
|
||||
endif
|
||||
@@ -110,11 +118,21 @@ else
|
||||
PYTHON3_CONF_OPTS += --disable-ossaudiodev
|
||||
endif
|
||||
|
||||
# Make python believe we don't have 'hg', so that it doesn't try to
|
||||
# communicate over the network during the build.
|
||||
PYTHON3_CONF_ENV += \
|
||||
ac_cv_have_long_long_format=yes \
|
||||
ac_cv_file__dev_ptmx=yes \
|
||||
ac_cv_file__dev_ptc=yes \
|
||||
ac_cv_working_tzset=yes
|
||||
ac_cv_working_tzset=yes \
|
||||
ac_cv_prog_HAS_HG=/bin/false
|
||||
|
||||
# GCC is always compliant with IEEE754
|
||||
ifeq ($(BR2_ENDIAN),"LITTLE")
|
||||
PYTHON3_CONF_ENV += ac_cv_little_endian_double=yes
|
||||
else
|
||||
PYTHON3_CONF_ENV += ac_cv_big_endian_double=yes
|
||||
endif
|
||||
|
||||
# uClibc is known to have a broken wcsftime() implementation, so tell
|
||||
# Python 3 to fall back to strftime() instead.
|
||||
|
||||
Reference in New Issue
Block a user