![Fabrice Fontaine](/assets/img/avatar_default.png)
Add a BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS to be able to use it in the comment Fixes: - http://autobuild.buildroot.org/results/547be5264effaf27c7f85ece88c5f5f792abd910 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
|
|
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
|