[Buildroot] [PATCH v3 2/6] package/kodi: Add suboption to control MySQL support
Bernd Kuhls
bernd.kuhls at t-online.de
Thu Jul 7 21:25:31 UTC 2016
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
v3: rebased series, no changes to this patch
v2: rebased series, no changes to this patch
package/kodi/Config.in | 6 ++++++
package/kodi/kodi.mk | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 3d3ecfd..e57939e 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -174,6 +174,12 @@ config BR2_PACKAGE_KODI_LIBNFS
comment "nfs support needs a toolchain w/ threads support"
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
+config BR2_PACKAGE_KODI_MYSQL
+ bool "mysql"
+ select BR2_PACKAGE_MYSQL
+ help
+ Enable MySQL support
+
config BR2_PACKAGE_KODI_RTMPDUMP
bool "rtmp"
select BR2_PACKAGE_RTMPDUMP
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 8a3b0bf..9d6b966 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -78,7 +78,7 @@ KODI_CONF_OPTS += \
--disable-vtbdecoder \
--enable-optimizations
-ifeq ($(BR2_PACKAGE_MYSQL),y)
+ifeq ($(BR2_PACKAGE_KODI_MYSQL),y)
KODI_CONF_OPTS += --enable-mysql
KODI_CONF_ENV += ac_cv_path_MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
KODI_DEPENDENCIES += mysql
--
2.8.1
More information about the buildroot
mailing list