mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-25 20:57:45 +00:00
Buildroot 2018-11 (#258)
* Update to buildroot 2018.11 * containerd update * runc update * runc docker engine * runc docker proxy * update rpi firmware * update network manager * update dhcpd * update wait on network * update rpi wifi * revert glibc
This commit is contained in:
@@ -4,20 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON3_VERSION_MAJOR = 3.6
|
||||
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).3
|
||||
PYTHON3_VERSION_MAJOR = 3.7
|
||||
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).1
|
||||
PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
|
||||
PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
|
||||
PYTHON3_LICENSE = Python-2.0, others
|
||||
PYTHON3_LICENSE_FILES = LICENSE
|
||||
|
||||
# Python itself doesn't use libtool, but it includes the source code
|
||||
# of libffi, which uses libtool. Unfortunately, it uses a beta version
|
||||
# of libtool for which we don't have a matching patch. However, this
|
||||
# is not a problem, because we don't use the libffi copy included in
|
||||
# the Python sources, but instead use an external libffi library.
|
||||
PYTHON3_LIBTOOL_PATCH = NO
|
||||
|
||||
# This host Python is installed in $(HOST_DIR), as it is needed when
|
||||
# cross-compiling third-party Python modules.
|
||||
|
||||
@@ -47,7 +40,7 @@ HOST_PYTHON3_CONF_ENV += \
|
||||
|
||||
PYTHON3_DEPENDENCIES = host-python3 libffi
|
||||
|
||||
HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib
|
||||
HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib host-libffi
|
||||
|
||||
PYTHON3_INSTALL_STAGING = YES
|
||||
|
||||
@@ -101,6 +94,11 @@ ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y)
|
||||
PYTHON3_CONF_OPTS += --disable-unicodedata
|
||||
endif
|
||||
|
||||
# Disable auto-detection of uuid.h (util-linux)
|
||||
# which would add _uuid module support, instead
|
||||
# default to the pure python implementation
|
||||
PYTHON3_CONF_OPTS += --disable-uuid
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y)
|
||||
PYTHON3_DEPENDENCIES += bzip2
|
||||
else
|
||||
@@ -256,6 +254,11 @@ endif
|
||||
# Provided to other packages
|
||||
PYTHON3_PATH = $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/
|
||||
|
||||
# Support for socket.AF_BLUETOOTH
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y)
|
||||
PYTHON3_DEPENDENCIES += bluez5_utils-headers
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user