xref: /OK3568_Linux_fs/buildroot/package/mysql/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_MYSQL
2*4882a593Smuzhiyun	bool "mysql support"
3*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
4*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  Select the desired mysql provider.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunif BR2_PACKAGE_MYSQL
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunchoice
12*4882a593Smuzhiyun	prompt "mysql variant"
13*4882a593Smuzhiyun	default BR2_PACKAGE_ORACLE_MYSQL
14*4882a593Smuzhiyun	help
15*4882a593Smuzhiyun	  Select either the oracle mysql server or the mariadb server
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig BR2_PACKAGE_MARIADB
18*4882a593Smuzhiyun	bool "mariadb"
19*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
20*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
21*4882a593Smuzhiyun	select BR2_PACKAGE_LIBAIO
22*4882a593Smuzhiyun	select BR2_PACKAGE_LIBXML2
23*4882a593Smuzhiyun	select BR2_PACKAGE_NCURSES
24*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL
25*4882a593Smuzhiyun	select BR2_PACKAGE_HAS_MYSQL
26*4882a593Smuzhiyun	help
27*4882a593Smuzhiyun	  MariaDB is one of the most popular database servers in the
28*4882a593Smuzhiyun	  world.  It's made by the original developers of MySQL and
29*4882a593Smuzhiyun	  guaranteed to stay open source.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun	  http://www.mariadb.org/
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncomment "mariadb needs a toolchain w/ dynamic library"
34*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS
35*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig BR2_PACKAGE_ORACLE_MYSQL
38*4882a593Smuzhiyun	bool "oracle mysql"
39*4882a593Smuzhiyun	select BR2_PACKAGE_NCURSES
40*4882a593Smuzhiyun	select BR2_PACKAGE_HAS_MYSQL
41*4882a593Smuzhiyun	help
42*4882a593Smuzhiyun	  The MySQL Open Source Database System
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun	  http://www.mysql.com/
45*4882a593Smuzhiyun
46*4882a593Smuzhiyunendchoice
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunif BR2_PACKAGE_MARIADB
49*4882a593Smuzhiyun
50*4882a593Smuzhiyunconfig BR2_PACKAGE_MARIADB_SERVER
51*4882a593Smuzhiyun	bool "mariadb server"
52*4882a593Smuzhiyun	help
53*4882a593Smuzhiyun	  Install the mariadb server on the target.
54*4882a593Smuzhiyun
55*4882a593Smuzhiyunconfig BR2_PACKAGE_MARIADB_SERVER_EMBEDDED
56*4882a593Smuzhiyun	bool "mariadb embedded server"
57*4882a593Smuzhiyun	depends on BR2_PACKAGE_MARIADB_SERVER
58*4882a593Smuzhiyun	help
59*4882a593Smuzhiyun	  Install the mariadb embedded server on the target.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyunendif
62*4882a593Smuzhiyun
63*4882a593Smuzhiyunif BR2_PACKAGE_ORACLE_MYSQL
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunconfig BR2_PACKAGE_ORACLE_MYSQL_SERVER
66*4882a593Smuzhiyun	bool "oracle mysql server"
67*4882a593Smuzhiyun	help
68*4882a593Smuzhiyun	  Install the MySQL server on the target.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunendif
71*4882a593Smuzhiyun
72*4882a593Smuzhiyunconfig BR2_PACKAGE_HAS_MYSQL
73*4882a593Smuzhiyun	bool
74*4882a593Smuzhiyun
75*4882a593Smuzhiyunconfig BR2_PACKAGE_PROVIDES_MYSQL
76*4882a593Smuzhiyun	string
77*4882a593Smuzhiyun	default "mariadb"      if BR2_PACKAGE_MARIADB
78*4882a593Smuzhiyun	default "oracle-mysql" if BR2_PACKAGE_ORACLE_MYSQL
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunendif
81*4882a593Smuzhiyun
82*4882a593Smuzhiyuncomment "mysql needs a toolchain w/ C++, threads"
83*4882a593Smuzhiyun	depends on BR2_USE_MMU
84*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
85