kumquat-buildroot/package/mysql/Config.in
Bernd Kuhls 15cc8d1e45 package/mariadb: needs pcre2
Upstream added the possibility to build with system-provided pcre2 back
in 2014:
    016bd4fc5f

The policy in Buildroot is to use system-provided libraries rather than
bundled ones, but we missed that opportunity when we introduced mariadb
back in 2016, with commit 2cd86cdbfc (mariadb: new package).

Fix that now.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-07-23 17:36:43 +02:00

90 lines
2.1 KiB
Plaintext

config BR2_PACKAGE_MYSQL
bool "mysql support"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Select the desired mysql provider.
if BR2_PACKAGE_MYSQL
choice
prompt "mysql variant"
default BR2_PACKAGE_ORACLE_MYSQL
help
Select either the oracle mysql server or the mariadb server
config BR2_PACKAGE_MARIADB
bool "mariadb"
depends on BR2_INSTALL_LIBSTDCPP # fmt
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
depends on BR2_USE_WCHAR # fmt
select BR2_PACKAGE_LIBAIO
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_FMT
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_HAS_MYSQL
help
MariaDB is one of the most popular database servers in the
world. It's made by the original developers of MySQL and
guaranteed to stay open source.
http://www.mariadb.org/
comment "mariadb needs a toolchain w/ dynamic library, C++, wchar"
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
config BR2_PACKAGE_ORACLE_MYSQL
bool "oracle mysql"
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_HAS_MYSQL
help
The MySQL Open Source Database System
http://www.mysql.com/
endchoice
if BR2_PACKAGE_MARIADB
config BR2_PACKAGE_MARIADB_SERVER
bool "mariadb server"
help
Install the mariadb server on the target.
config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED
bool "mariadb embedded server"
depends on BR2_PACKAGE_MARIADB_SERVER
help
Install the mariadb embedded server on the target.
endif
if BR2_PACKAGE_ORACLE_MYSQL
config BR2_PACKAGE_ORACLE_MYSQL_SERVER
bool "oracle mysql server"
help
Install the MySQL server on the target.
endif
config BR2_PACKAGE_HAS_MYSQL
bool
config BR2_PACKAGE_PROVIDES_MYSQL
string
default "mariadb" if BR2_PACKAGE_MARIADB
default "oracle-mysql" if BR2_PACKAGE_ORACLE_MYSQL
endif
comment "mysql needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS