initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_PYTHON_SUBPROCESS32
bool "python-subprocess32"
depends on BR2_PACKAGE_PYTHON
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_MIPS_NABI64
help
A backport of the Python 3 subprocess module for use
on Python 2.
https://github.com/google/python-subprocess32
comment "python-subprocess32 needs a toolchain w/ headers >= 3.10 on MIPS N64"
depends on BR2_MIPS_NABI64
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/subprocess32/json
md5 748844d560be5f0c707931cba1cdb48b subprocess32-3.5.4.tar.gz
sha256 eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d subprocess32-3.5.4.tar.gz
# Locally computed sha256 checksums
sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a LICENSE
@@ -0,0 +1,31 @@
################################################################################
#
# python-subprocess32
#
################################################################################
PYTHON_SUBPROCESS32_VERSION = 3.5.4
PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz
PYTHON_SUBPROCESS32_SITE = https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007
PYTHON_SUBPROCESS32_SETUP_TYPE = setuptools
PYTHON_SUBPROCESS32_LICENSE = Python-2.0
PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE
# The configure step needs to be run outside of the setup.py since it isn't
# run correctly for cross-compiling
define PYTHON_SUBPROCESS32_CONFIGURE_CMDS
(cd $(@D) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--program-prefix="" \
)
endef
$(eval $(python-package))