xbmc: 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:59 +01:00
parent be4f2099aa
commit cd03909c97

View File

@ -176,8 +176,10 @@ if [ "$OPENMAX_SUPPORT" = yes ]; then
if [ "$OPENMAX" = "bcm2835-driver" ]; then
XBMC_PLATFORM_SUPPORT="--with-platform=raspberry-pi"
XBMC_PLAYER="--enable-player=omxplayer"
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/"
CXXFLAGS="$CXXFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads/"
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"
fi
else
XBMC_OPENMAX="--disable-openmax"