mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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:
parent
72f89ffacf
commit
be4f2099aa
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user