summaryrefslogtreecommitdiffstats
path: root/rules/mariadb.in
diff options
context:
space:
mode:
authorBastian Stender <bst@pengutronix.de>2017-05-29 14:21:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-06-24 11:17:04 +0200
commit5e3dbbeede3cce78dc2a6cb8f2dd65fbee4ba059 (patch)
treee4f73c822ab698ab813d9e1872ae4c75434fde17 /rules/mariadb.in
parent413eb50ff09da95e4bc715816fd4c851f7fb2861 (diff)
downloadptxdist-5e3dbbeede3cce78dc2a6cb8f2dd65fbee4ba059.tar.gz
ptxdist-5e3dbbeede3cce78dc2a6cb8f2dd65fbee4ba059.tar.xz
mariadb: new package
MariaDB is a MySQL fork. Therefore the MySQL rule was adapted to fit MariaDB. As MariaDB uses the same binary names as MySQL the packages conflict. Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/mariadb.in')
-rw-r--r--rules/mariadb.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/rules/mariadb.in b/rules/mariadb.in
new file mode 100644
index 000000000..530657e97
--- /dev/null
+++ b/rules/mariadb.in
@@ -0,0 +1,36 @@
+## SECTION=applications
+menuconfig MARIADB
+ tristate
+ # make sure that MariaDB and MySQL will not be built parallel in ALLYES
+ depends on !MYSQL || ALLYES
+ select HOST_CMAKE
+ select HOST_MARIADB
+ select LIBC_CRYPT
+ select LIBC_DL
+ select LIBC_M
+ select LIBC_PTHREAD
+ select LIBC_RT
+ select GCCLIBS_CXX
+ select GCCLIBS_GCC_S
+ select LIBAIO
+ select LIBPCRE
+ select NCURSES
+ select OPENSSL
+ select SYSTEMD if MARIADB_SYSTEMD
+ select ZLIB
+ prompt "mariadb "
+ help
+ MariaDB, a SQL database engine
+
+if MARIADB
+
+config MARIADB_SYSTEMD
+ bool
+ depends on INITMETHOD_SYSTEMD
+ default y
+ prompt "systemd support"
+
+endif
+
+comment "MySQL is selected!"
+ depends on MYSQL