Config.in 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. config BR2_PACKAGE_MYSQL
  2. bool "mysql support"
  3. depends on BR2_INSTALL_LIBSTDCPP
  4. depends on BR2_USE_MMU # fork()
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. help
  7. Select the desired mysql provider.
  8. if BR2_PACKAGE_MYSQL
  9. choice
  10. prompt "mysql variant"
  11. help
  12. Select either the oracle mysql server or the mariadb server
  13. config BR2_PACKAGE_MARIADB
  14. bool "mariadb"
  15. depends on BR2_INSTALL_LIBSTDCPP # fmt
  16. depends on !BR2_STATIC_LIBS
  17. depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
  18. depends on BR2_USE_WCHAR # fmt
  19. select BR2_PACKAGE_LIBAIO
  20. select BR2_PACKAGE_LIBXML2
  21. select BR2_PACKAGE_FMT
  22. select BR2_PACKAGE_NCURSES
  23. select BR2_PACKAGE_OPENSSL
  24. select BR2_PACKAGE_PCRE2
  25. select BR2_PACKAGE_HAS_MYSQL
  26. help
  27. MariaDB is one of the most popular database servers in the
  28. world. It's made by the original developers of MySQL and
  29. guaranteed to stay open source.
  30. http://www.mariadb.org/
  31. comment "mariadb needs a toolchain w/ dynamic library, C++, wchar"
  32. depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
  33. || !BR2_USE_WCHAR
  34. depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
  35. endchoice
  36. if BR2_PACKAGE_MARIADB
  37. config BR2_PACKAGE_MARIADB_SERVER
  38. bool "mariadb server"
  39. help
  40. Install the mariadb server on the target.
  41. config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED
  42. bool "mariadb embedded server"
  43. depends on BR2_PACKAGE_MARIADB_SERVER
  44. help
  45. Install the mariadb embedded server on the target.
  46. endif
  47. config BR2_PACKAGE_HAS_MYSQL
  48. bool
  49. config BR2_PACKAGE_PROVIDES_MYSQL
  50. string
  51. default "mariadb" if BR2_PACKAGE_MARIADB
  52. endif
  53. comment "mysql needs a toolchain w/ C++, threads"
  54. depends on BR2_USE_MMU
  55. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS