Commit e89fba08 authored by Ryan Coe's avatar Ryan Coe Committed by Thomas Petazzoni
Browse files

kodi: allow mysql to be used

parent 642348c8
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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