kumquat-buildroot/package/mysql/Config.in
Ryan Coe 3d707d2b4f mysql: rename package to oracle-mysql, make a virtual package
This commit turns mysql into a virtual package, after renaming the
original mysql package to oracle-mysql. This way, all existing packages
that "depends on" or "select" BR2_PACKAGE_MYSQL continue to work with no
modification.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-17 15:01:07 +01:00

84 lines
1.9 KiB
Plaintext

config BR2_PACKAGE_MYSQL
bool "mysql support"
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
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
select BR2_PACKAGE_LIBAIO
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_READLINE
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/
config BR2_PACKAGE_ORACLE_MYSQL
bool "oracle mysql"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
select BR2_PACKAGE_HAS_MYSQL
help
The MySQL Open Source Database System
http://www.mysql.com/
endchoice
comment "mariadb needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
comment "oracle mysql needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
if BR2_PACKAGE_MARIADB
config BR2_PACKAGE_MARIADB_SERVER
bool "mariadb server"
help
Install the mariadb 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