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/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Ryan Coe <bluemrp9@gmail.com>
[Peter: make Config.in option depend on _MARIADB_SERVER]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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
help
Install the mariadb server on the target.
+config BR2_PACKAGE_MARIADB_SERVER_EMBEDDED
+ depends on BR2_PACKAGE_MARIADB_SERVER
+ bool "mariadb embedded server"
+ help
+ Install the mariadb embedded server on the target.
+
endif
if BR2_PACKAGE_ORACLE_MYSQL