Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear committed Mar 3, 2015
1 parent 5ae367c commit f32754e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

To build peripheral add-ons:
To build peripheral add-ons with Kodi:

```shell
KODI_PREFIX=$HOME/kodi

git clone -b retroplayer-15alpha1-6438+6227 https://github.com/garbear/xbmc.git xbmc
git clone -b retroplayer-15alpha1 https://github.com/garbear/xbmc.git xbmc
cd xbmc
./bootstrap
./configure
Expand All @@ -17,15 +17,18 @@ cd ..
To build just joystick add-on, after doing the above:

```shell
git clone -b cmake https://github.com/garbear/peripheral.joystick.git peripheral.joystick
mkdir peripheral.joystick-project
cd peripheral.joystick-project
KODI_PREFIX=$HOME/kodi
SOURCE_DIR=`pwd`/source/peripheral.joystick
BUILD_DIR=`pwd`/build/peripheral.joystick

cmake ../peripheral.joystick -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$KODI_PREFIX -DCMAKE_INSTALL_PREFIX=$KODI_PREFIX
mkdir -p $SOURCE_DIR $BUILD_DIR
git clone https://github.com/garbear/peripheral.joystick.git $SOURCE_DIR
cd $BUILD_DIR
cmake $SOURCE_DIR -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$KODI_PREFIX -DCMAKE_INSTALL_PREFIX=$KODI_PREFIX

# or, for eclipse project files:
# or, for Eclipse 4.4 project files:

cmake ../peripheral.joystick -G"Eclipse CDT4 - Unix Makefiles" -D_ECLIPSE_VERSION=4.4 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$KODI_PREFIX -DCMAKE_INSTALL_PREFIX=$KODI_PREFIX
cmake $SOURCE_DIR -G"Eclipse CDT4 - Unix Makefiles" -D_ECLIPSE_VERSION=4.4 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$KODI_PREFIX -DCMAKE_INSTALL_PREFIX=$KODI_PREFIX

# and then

Expand Down

0 comments on commit f32754e

Please sign in to comment.