Skip to content
Leandro edited this page Mar 10, 2021 · 3 revisions

Get Source Code

cd /opt
git clone https://gitlab.com/leandrotsampa/xbmc.git -b Enigma2-Leia kodi

Config Before Compile

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 ..

Compiling

# Compile
make

# Install
make install
Clone this wiki locally