-
Notifications
You must be signed in to change notification settings - Fork 4
Compile Kodi
Leandro edited this page Mar 10, 2021
·
3 revisions
cd /opt
git clone https://gitlab.com/leandrotsampa/xbmc.git -b Enigma2-Leia kodi
cd kodi
# Create Folder: build
mkdir build
cd build
# Configure
export CFLAGS="-march=armv7ve -mtune=cortex-a53 -mfloat-abi=hard -mfpu=neon-vfpv4 -mvectorize-with-neon-quad"
export CPPFLAGS=$CFLAGS
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCORE_SYSTEM_NAME=linux \
-DCORE_PLATFORM_NAME=hisilicon \
-DHISILICON_RENDER_SYSTEM=gles \
-DENABLE_NEON=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_INTERNAL_RapidJSON=ON \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_DBUS=OFF \
-DENABLE_X11=OFF \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_OPTICAL=OFF \
-DENABLE_APP_AUTONAME=OFF \
-DENABLE_CEC=OFF \
-DVERBOSE=OFF ..
# Compile
make
# Install
make install