1config BR2_PACKAGE_MARIADB
2	bool "mariadb"
3	depends on BR2_INSTALL_LIBSTDCPP # fmt
4	depends on !BR2_STATIC_LIBS
5	depends on BR2_USE_MMU # fork()
6	depends on BR2_TOOLCHAIN_HAS_THREADS
7	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
8	depends on BR2_USE_WCHAR # fmt
9	select BR2_PACKAGE_LIBAIO
10	select BR2_PACKAGE_LIBXML2
11	select BR2_PACKAGE_FMT
12	select BR2_PACKAGE_NCURSES
13	select BR2_PACKAGE_OPENSSL
14	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
15	select BR2_PACKAGE_PCRE2
16	help
17	  MariaDB is one of the most popular database servers in the
18	  world.  It's made by the original developers of MySQL and
19	  guaranteed to stay open source.
20
21	  http://www.mariadb.org/
22
23comment "mariadb needs a toolchain w/ dynamic library, C++, threads, wchar"
24	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
25		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
26	depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
27
28if BR2_PACKAGE_MARIADB
29
30config BR2_PACKAGE_MARIADB_SERVER
31	bool "mariadb server"
32	help
33	  Install the mariadb server on the target.
34
35config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED
36	bool "mariadb embedded server"
37	depends on BR2_PACKAGE_MARIADB_SERVER
38	help
39	  Install the mariadb embedded server on the target.
40
41endif
42