package/mariadb: add option to disable build of embedded server
PATCH 1/1 package/mariadb: add option to disable build of embedded server
Size of output/target/usr:
with embedded: 1,7G
without embedded: 648M
This config option saves space on the target if the embedded server is not used by any other package:
https://mariadb.com/kb/en/library/embedded-mariadb-interface/
--- package/mariadb/mariadb.mk | 4 ++++ package/mysql/Config.in | 5 +++++ 2 files changed, 9 insertions(+)
package/mariadb/mariadb.mk +4 -0
@@ -56,8 +56,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) +ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON else +MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF +endif +else MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON endif
package/mysql/Config.in +5 -0
@@ -54,6 +54,11 @@ config BR2_PACKAGE_MARIADB_SERVER help Install the mariadb server on the target. +config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED + bool "mariadb embedded server" + help + Install the mariadb embedded server on the target. + endif if BR2_PACKAGE_ORACLE_MYSQL
Signature · 1 line
2.19.1
PATCH 1/1 package/mariadb: add option to disable build of embedded server
Bernd, All,
Quoted 38 lines · Bernd Kuhls
Size of output/target/usr:
with embedded: 1,7G
without embedded: 648MThis config option saves space on the target if the embedded server is not used by any other package:
https://mariadb.com/kb/en/library/embedded-mariadb-interface/
Signed-off-by Bernd Kuhls <[email protected]>--- package/mariadb/mariadb.mk | 4 ++++ package/mysql/Config.in | 5 +++++ 2 files changed, 9 insertions(+)package/mariadb/mariadb.mk +4
-0@@ -56,8 +56,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) +ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON else +MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF +endif +else MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON endifpackage/mysql/Config.in +0
-0@@ -54,6 +54,11 @@ config BR2_PACKAGE_MARIADB_SERVER help
package/mysql/Config.in config BR2_PACKAGE_MARIADB_SERVER · line 64
Quoted 10 lines
package/mysql/Config.in +5
-0Install the mariadb server on the target. +config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED + bool "mariadb embedded server" + help + Install the mariadb embedded server on the target. + endif if BR2_PACKAGE_ORACLE_MYSQL
PATCH 1/1 package/mariadb: add option to disable build of embedded server
In reply to Bernd KuhlsQuoted 38 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Size of output/target/usr:
with embedded: 1,7G
without embedded: 648MThis config option saves space on the target if the embedded server is not used by any other package:
https://mariadb.com/kb/en/library/embedded-mariadb-interface/
Signed-off-by Bernd Kuhls <[email protected]>--- package/mariadb/mariadb.mk | 4 ++++ package/mysql/Config.in | 5 +++++ 2 files changed, 9 insertions(+)package/mariadb/mariadb.mk +4
-0@@ -56,8 +56,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) +ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON else +MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF +endif +else MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON endifpackage/mysql/Config.in +0
-0
package/mysql/Config.in config BR2_PACKAGE_MARIADB_SERVER · line 58
Quoted 5 lines
package/mysql/Config.in +2
-0@@ -54,6 +54,11 @@ config BR2_PACKAGE_MARIADB_SERVER help Install the mariadb server on the target. +config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED + bool "mariadb embedded server"
If the embedded server can only be enabled if MARIADB_SERVER is enabled, then this Config.in option should also depend on it.
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/mariadb: add option to disable build of embedded server
In reply to Bernd KuhlsQuoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Size of output/target/usr:
with embedded: 1,7G
without embedded: 648MThis config option saves space on the target if the embedded server is not used by any other package:
https://mariadb.com/kb/en/library/embedded-mariadb-interface/
Signed-off-by Bernd Kuhls <[email protected]>
Committed to 2018.02.x and 2018.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard