aboutsummaryrefslogtreecommitdiff
path: root/docs/README.raspberrypi
diff options
context:
space:
mode:
Diffstat (limited to 'docs/README.raspberrypi')
-rw-r--r--docs/README.raspberrypi10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/README.raspberrypi b/docs/README.raspberrypi
index 3e9b943f57..353dc2236c 100644
--- a/docs/README.raspberrypi
+++ b/docs/README.raspberrypi
@@ -17,7 +17,11 @@ image which includes Linux.
-----------------------------------------------------------------------------
The following steps were tested with Ubuntu 14.04 x64. (Note that building on
-a 32 bit machine requires slightly different setting)
+a 32 bit machine requires slightly different setting).
+
+The following commands build for newer Rapberry Pi 2 generation. In order to
+build for the first Raspberry Pi, the commands have to be adapted to use
+`--with-platform=raspberry-pi` instead of `--with-platform=raspberry-pi2`.
$ sudo apt-get install git autoconf curl g++ zlib1g-dev libcurl4-openssl-dev gawk gperf libtool autopoint swig default-jre
@@ -40,13 +44,13 @@ a 32 bit machine requires slightly different setting)
--prefix=/opt/xbmc-bcm/xbmc-dbg \
--with-toolchain=/usr/local/bcm-gcc/arm-bcm2708hardfp-linux-gnueabi/sysroot \
--with-firmware=/opt/bcm-rootfs \
- --with-platform=raspberry-pi \
+ --with-platform=raspberry-pi2 \
--build=i686-linux
$ make
$ cd ../..
- CONFIG_EXTRA="--with-platform=raspberry-pi \
+ CONFIG_EXTRA="--with-platform=raspberry-pi2 \
--enable-libcec --enable-player=omxplayer \
--disable-x11 --disable-xrandr --disable-openmax \
--disable-optical-drive --disable-dvdcss --disable-joystick \