mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
libcec: drop support for RPi firmware CEC
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
07a0d3240c
commit
6aa14e5cb6
@ -17,13 +17,8 @@ PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=1 \
|
|||||||
-DSKIP_PYTHON_WRAPPER=1 \
|
-DSKIP_PYTHON_WRAPPER=1 \
|
||||||
-DHAVE_IMX_API=0 \
|
-DHAVE_IMX_API=0 \
|
||||||
-DHAVE_AOCEC_API=0 -DHAVE_AMLOGIC_API=0 \
|
-DHAVE_AOCEC_API=0 -DHAVE_AMLOGIC_API=0 \
|
||||||
-DHAVE_GIT_BIN=0"
|
-DHAVE_GIT_BIN=0 \
|
||||||
|
-DHAVE_RPI_LIB=0"
|
||||||
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
|
|
||||||
else
|
|
||||||
PKG_CMAKE_OPTS_TARGET+=" -DHAVE_RPI_LIB=0"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# libX11 and xrandr to read the sink's EDID, used to determine the PC's HDMI physical address
|
# libX11 and xrandr to read the sink's EDID, used to determine the PC's HDMI physical address
|
||||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||||
@ -36,13 +31,6 @@ else
|
|||||||
PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_LINUX_API=0"
|
PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_LINUX_API=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure_target() {
|
|
||||||
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
|
||||||
# detecting RPi support fails without -lvchiq_arm
|
|
||||||
export LDFLAGS="$LDFLAGS -lvchiq_arm"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
# Remove the Python3 demo - useless for us
|
# Remove the Python3 demo - useless for us
|
||||||
rm -f $INSTALL/usr/bin/pyCecClient
|
rm -f $INSTALL/usr/bin/pyCecClient
|
||||||
|
Loading…
x
Reference in New Issue
Block a user