Initial Commit
- initial default booting image
This commit is contained in:
44
package/pcre2/Config.in
Normal file
44
package/pcre2/Config.in
Normal file
@@ -0,0 +1,44 @@
|
||||
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
|
||||
|
||||
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
|
||||
6
package/pcre2/pcre2.hash
Normal file
6
package/pcre2/pcre2.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature:
|
||||
# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.47/pcre2-10.47.tar.bz2.sig
|
||||
sha256 47fe8c99461250d42f89e6e8fdaeba9da057855d06eb7fc08d9ca03fd08d7bc7 pcre2-10.47.tar.bz2
|
||||
# Locally computed
|
||||
sha256 197d8a73ffee0d6b09adba2f9c677b5f5aede24edf89258a68e48248d010d811 LICENCE.md
|
||||
sha256 5f216505c0f6ea3273caec89e766eef93cdeb7bbb0c429f9360116d7c938feeb deps/sljit/LICENSE
|
||||
40
package/pcre2/pcre2.mk
Normal file
40
package/pcre2/pcre2.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# pcre2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PCRE2_VERSION = 10.47
|
||||
PCRE2_SITE = https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$(PCRE2_VERSION)
|
||||
PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
|
||||
PCRE2_LICENSE = BSD-3-Clause
|
||||
PCRE2_LICENSE_FILES = LICENCE.md
|
||||
PCRE2_CPE_ID_VENDOR = pcre
|
||||
PCRE2_INSTALL_STAGING = YES
|
||||
PCRE2_CONFIG_SCRIPTS = pcre2-config
|
||||
# Fixes build/relink failure ("ERROR: unsafe header/library path used in
|
||||
# cross-compilation: '-L/usr/lib'")
|
||||
PCRE2_AUTORECONF = YES
|
||||
|
||||
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
|
||||
PCRE2_LICENSE += BSD-2-Clause
|
||||
PCRE2_LICENSE_FILES += deps/sljit/LICENSE
|
||||
else
|
||||
PCRE2_CONF_OPTS += --disable-jit
|
||||
endif
|
||||
|
||||
# disable fork usage if not available
|
||||
ifeq ($(BR2_USE_MMU),)
|
||||
PCRE2_CONF_OPTS += --disable-pcre2grep-callout
|
||||
endif
|
||||
|
||||
# needed for qt6base
|
||||
HOST_PCRE2_CONF_OPTS = --enable-pcre2-16
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user