diff options
author | Christian Fetzer <fetzer.ch@gmail.com> | 2016-02-14 11:19:42 +0100 |
---|---|---|
committer | Christian Fetzer <fetzer.ch@gmail.com> | 2016-02-14 11:20:43 +0100 |
commit | 7772f62a74c574d2c689988ff1abe28d221a1aae (patch) | |
tree | 051ee3e75b116e451bbdafede5ce7526c6de441c /docs/README.raspberrypi | |
parent | d4ffc02e4141bea163d2b5a4556a4f414374255a (diff) |
[rbp] Update README.raspberrypi for Raspberry Pi 2
Diffstat (limited to 'docs/README.raspberrypi')
-rw-r--r-- | docs/README.raspberrypi | 10 |
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 \ |