mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-21 10:02:13 +00:00
Updated ShredOS to Buildroot 2025.11, kernel 6.18.0
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON3_VERSION_MAJOR = 3.12
|
||||
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).7
|
||||
PYTHON3_VERSION_MAJOR = 3.13
|
||||
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).11
|
||||
PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
|
||||
PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
|
||||
PYTHON3_LICENSE = Python-2.0, others
|
||||
@@ -176,6 +176,7 @@ endif
|
||||
|
||||
PYTHON3_CONF_ENV += \
|
||||
ac_cv_have_long_long_format=yes \
|
||||
ac_cv_buggy_getaddrinfo=no \
|
||||
ac_cv_file__dev_ptmx=yes \
|
||||
ac_cv_file__dev_ptc=yes \
|
||||
ac_cv_working_tzset=yes \
|
||||
@@ -188,6 +189,15 @@ else
|
||||
PYTHON3_CONF_ENV += ac_cv_big_endian_double=yes
|
||||
endif
|
||||
|
||||
PYTHON3_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_121567),y)
|
||||
PYTHON3_CFLAGS += -O1
|
||||
endif
|
||||
|
||||
PYTHON3_CONF_ENV += \
|
||||
CFLAGS="$(PYTHON3_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
|
||||
PYTHON3_DEPENDENCIES += gettext
|
||||
endif
|
||||
@@ -305,3 +315,11 @@ define PYTHON3_REMOVE_OPTIMIZED_PYC_FILES
|
||||
xargs -0 --no-run-if-empty rm -f
|
||||
endef
|
||||
PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_OPTIMIZED_PYC_FILES
|
||||
|
||||
# uClibc without time64 support (i.e. when linux headers < 5.1) causes
|
||||
# a runtime assertion in Python. Encoding this as a dependency in Config.in
|
||||
# causes too many problems for propagating reverse dependencies. Therefore
|
||||
# instead we do a build time check.
|
||||
ifeq ($(BR_BUILDING)$(BR2_PACKAGE_PYTHON3)$(BR2_TOOLCHAIN_USES_UCLIBC)-$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1),yyy-)
|
||||
$(error Python3 doesn't work with uClibc and kernel headers < 5.1. Please use a different toolchain or unselect Python3.)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user