Differences
This shows you the differences between two versions of the page.
— |
preparing_a_build_environment [2017/03/12 19:24] (current) 0.0.0.0 created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Preparing_a_Build_Environment ====== | ||
+ | ======Create a Build Environment====== | ||
+ | If you had already created a build environment, switch to it: | ||
+ | <nowiki> | ||
+ | cd ~/LibreELEC.tv</nowiki> | ||
+ | Otherwise, create it: | ||
+ | <nowiki> | ||
+ | cd ~ | ||
+ | git clone https://github.com/LibreELEC/LibreELEC.tv.git | ||
+ | cd LibreELEC.tv</nowiki> | ||
+ | ======Select a LibreELEC Release====== | ||
+ | To build the package for LibreELEC 8.0: | ||
+ | : | ||
+ | <nowiki> | ||
+ | git checkout master</nowiki> | ||
+ | To build the package for LibreELEC 7.0: | ||
+ | : | ||
+ | <nowiki> | ||
+ | git checkout libreelec-7.0</nowiki> | ||
+ | ======Update the Build Environment====== | ||
+ | Pull the latest updates: | ||
+ | <nowiki> | ||
+ | git pull</nowiki> | ||
+ | ======Clean the Build Environment====== | ||
+ | <nowiki> | ||
+ | make clean</nowiki> | ||
+ | ======Select a LibreELEC Project====== | ||
+ | At the time of writing the following LibreELEC projects were available. Select the appropriate project and prepend the build commands accordingly. | ||
+ | ;Generic | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=Generic ARCH=x86_64</nowiki> | ||
+ | ;Odroid_C2 (starting with LibreELEC 8.0) | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=Odroid_C2 ARCH=aarch64</nowiki> | ||
+ | ;RPi (Raspberry Pi Zero, Raspberry Pi) | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=RPi ARCH=arm</nowiki> | ||
+ | ;RPi2 (Raspberry Pi 2, Raspberry 3) | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=RPi2 ARCH=arm</nowiki> | ||
+ | ;WeTek_Core | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=WeTek_Core ARCH=arm</nowiki> | ||
+ | ;WeTek_Hub (starting from LibreELEC 8.0) | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=WeTek_Hub ARCH=aarch64</nowiki> | ||
+ | ;WeTek_Play | ||
+ | : | ||
+ | <nowiki> | ||
+ | PROJECT=WeTek_Play ARCH=arm</nowiki> |