diff options
Diffstat (limited to 'docs/README.RaspberryPi.md')
-rw-r--r-- | docs/README.RaspberryPi.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/README.RaspberryPi.md b/docs/README.RaspberryPi.md index d2521ca4e6..3c13cdb62e 100644 --- a/docs/README.RaspberryPi.md +++ b/docs/README.RaspberryPi.md @@ -47,6 +47,8 @@ Several different strategies are used to draw your attention to certain pieces o **[back to top](#table-of-contents)** | **[back to section top](#1-document-conventions)** ## 2. Install the required packages +**NOTE:** Kodi requires a compiler with C++14 support, i.e. gcc >= 4.9 or clang >= 3.4 + Install build dependencies needed to cross-compile Kodi for the Raspberry Pi: ``` sudo apt install autoconf bison build-essential curl default-jdk gawk git gperf libcurl4-openssl-dev zlib1g-dev @@ -118,6 +120,12 @@ cd $HOME/kodi make -C tools/depends/target/cmakebuildsys ``` +**TIP:** BUILD_DIR can be provided as an argument to cmakebuildsys. This allows you to provide an alternate build location. Change all paths onwards as required if BUILD_DIR option used. +``` +mkdir $HOME/kodi-build +make -C tools/depends/target/cmakebuildsys BUILD_DIR=$HOME/kodi-build +``` + Build Kodi: ``` cd $HOME/kodi/build |