xbmc-pvr: make joystick support optional

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-29 20:16:34 +01:00
parent 7ea44c2ed1
commit 49e15b93fa

View File

@ -56,6 +56,12 @@ else
XBMC_CEC="--disable-libcec --disable-udev --disable-libusb"
fi
if [ "$JOYSTICK_SUPPORT" = yes ]; then
XBMC_JOYSTICK="--enable-joystick"
else
XBMC_JOYSTICK="--disable-joystick"
fi
if [ "$NONFREE_SUPPORT" = yes ]; then
XBMC_NONFREE="--enable-non-free"
else
@ -200,7 +206,7 @@ cd $PKG_BUILD
--disable-openmax \
--disable-tegra \
--disable-profiling \
--enable-joystick \
$XBMC_JOYSTICK \
$XBMC_CEC \
$XBMC_GOOM \
$XBMC_RSXS \