libcec: fix C*FLAGS for using with latest bcm2835 drivers, this should fix #1483

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-11-19 14:33:40 +01:00
parent 72f89ffacf
commit be4f2099aa

View File

@ -23,6 +23,10 @@
. config/options $1
if [ "$OPENMAX" = "bcm2835-driver" ]; then
BCM2835_INCLUDES="-I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/ \
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
CFLAGS="$CFLAGS $BCM2835_INCLUDES"
CXXFLAGS="$CXXFLAGS $BCM2835_INCLUDES"
LIBCEC_RPI="--enable-rpi --with-rpi-include-path=$SYSROOT_PREFIX/usr/include --with-rpi-lib-path=$SYSROOT_PREFIX/usr/lib"
else
LIBCEC_RPI="--disable-rpi"