X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README;h=5c7364b19882ad5b765448ab7097e4ef45ad2179;hb=5c57af4817a04e92fbfd60d5d99d8782194a45a7;hp=c8b2aef9ab805eaabc1771fe4f5843ead11af515;hpb=a1a112ac7985f60d2648356e341b11f2bcb32336;p=deb_libcec.git diff --git a/README b/README index c8b2aef..5c7364b 100644 --- a/README +++ b/README @@ -74,6 +74,31 @@ you will need to manually build libcec with Visual C++ 2010 and then build LibCecSharp.sln with Visual Studio 2008. See create-installer.bat for the required steps. +=============================================================================== + === Raspberry Pi === +=============================================================================== + +We've included a script that builds libCEC with support for the Raspberry Pi +in /project/RPi/build.sh. This script pulls in the latest toolchain and +firmware, builds the necessary dependencies, and finally builds libCEC. The +result will be a softfp build. + +To build libCEc on your development machine, follow these instructions: +* run '/project/RPi/build.sh /desired/destination/path/for/binaries' +* run 'make install' + +To build libCEC on the Pi itself, just follow the instructions for Linux. +The configure script automatically checks whether the required headers and +libraries can be found. + +To specify the path of the Raspberry Pi's development headers, use the +following option for 'configure': +--with-rpi-include-path="/path/to/opt/vc/include" + +To specify the path of the Raspberry Pi's libraries, use the following option +for 'configure': +--with-rpi-lib-path="/path/to/libbcm_host.so" + =============================================================================== === Debugging / Testing === ===============================================================================