aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Ryan Coe <bluemrp9@gmail.com>2015-03-03 19:32:05 -0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-04 19:44:30 +0100
commite89fba08b888a4f7d5ea797019787866f04e4404 (patch)
treef3c5ba629eba93baaf72c1071d4d665b7f90a859 /package
parent642348c8c859dff78041815e0a908f27ebc8ab70 (diff)
downloadbuildroot-e89fba08b888a4f7d5ea797019787866f04e4404.tar.gz
buildroot-e89fba08b888a4f7d5ea797019787866f04e4404.tar.bz2
kodi: allow mysql to be used
Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/kodi/kodi.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 01c7e8051a..0a6fe7cfce 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -37,7 +37,6 @@ KODI_CONF_OPTS += \
--disable-dvdcss \
--disable-hal \
--disable-joystick \
- --disable-mysql \
--disable-openmax \
--disable-projectm \
--disable-pulse \
@@ -46,6 +45,14 @@ KODI_CONF_OPTS += \
--disable-vtbdecoder \
--enable-optimizations
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+KODI_CONF_OPTS += --enable-mysql
+KODI_CONF_ENV += ac_cv_path_MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
+KODI_DEPENDENCIES += mysql
+else
+KODI_CONF_OPTS += --disable-mysql
+endif
+
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
KODI_DEPENDENCIES += rpi-userland
KODI_CONF_OPTS += --with-platform=raspberry-pi --enable-player=omxplayer