xbmc-rpi: force building with RPi CEC support if CEC support is enabled and we build for RPi

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-07-29 14:12:16 +02:00
parent 52f2ef54d8
commit 356964ba8f

View File

@ -82,6 +82,9 @@ fi
if [ "$CEC_SUPPORT" = yes ]; then
XBMC_CEC="--enable-libcec"
if [ "$OPENMAX" = "bcm2835-driver" ]; then
XBMC_CEC="$XBMC_CEC --enable-rpi-cec-api"
fi
else
XBMC_CEC="--disable-libcec"
fi