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
+45
View File
@@ -0,0 +1,45 @@
config BR2_PACKAGE_PCRE2
bool "pcre2"
help
Perl Compatible Regular Expressions. By default, only the
8-bits libpcre2 is built. To get the 16-bits and/or 32-bits
variants libpcre2-16/libpcre2-32, use the package
sub-options.
http://www.pcre.org/
if BR2_PACKAGE_PCRE2
config BR2_PACKAGE_PCRE2_16
bool "16-bit pcre2"
help
This option builds the 16-bits pcre2 library, i.e
'libpcre2-16'
config BR2_PACKAGE_PCRE2_32
bool "32-bit pcre2"
help
This option builds the 32-bits pcre2 library, i.e
'libpcre2-32'
config BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_arm || BR2_armeb
default y if BR2_i386 || BR2_x86_64
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_powerpc
default y if BR2_sparc
config BR2_PACKAGE_PCRE2_JIT
bool "enable JIT support"
depends on BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
This option enables JIT support
comment "JIT support needs a toolchain w/ threads"
depends on BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS
endif
+5
View File
@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
# https://ftp.pcre.org/pub/pcre/pcre2-10.37.tar.bz2.sig
sha256 4d95a96e8b80529893b4562be12648d798b957b1ba1aae39606bbc2ab956d270 pcre2-10.37.tar.bz2
# Locally computed
sha256 9c9488256e3612ec5ea40fd12abe7ec55a58f23bd36e6f465116c2b3cbffba02 LICENCE
+32
View File
@@ -0,0 +1,32 @@
################################################################################
#
# pcre2
#
################################################################################
PCRE2_VERSION = 10.37
PCRE2_SITE = https://ftp.pcre.org/pub/pcre
PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
PCRE2_LICENSE = BSD-3-Clause
PCRE2_LICENSE_FILES = LICENCE
PCRE2_CPE_ID_VENDOR = pcre
PCRE2_INSTALL_STAGING = YES
PCRE2_CONFIG_SCRIPTS = pcre2-config
PCRE2_CONF_OPTS += --enable-pcre2-8
PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16)
PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_32),--enable-pcre2-32,--disable-pcre2-32)
ifeq ($(BR2_PACKAGE_PCRE2_JIT),y)
PCRE2_CONF_OPTS += --enable-jit
else
PCRE2_CONF_OPTS += --disable-jit
endif
# disable fork usage if not available
ifeq ($(BR2_USE_MMU),)
PCRE2_CONF_OPTS += --disable-pcre2grep-callout
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))