Added the step to fetch the submodules. Changed wording of the final steps slightly.

Jean-Sébastien Guay 2016-09-11 01:05:24 -04:00
parent adeabdada5
commit 4155085c7d
1 changed files with 10 additions and 1 deletions

@ -25,13 +25,22 @@ You can omit NOCLEAN=1 if you'd like to perform `make clean` on every core's rep
## Building RetroArch ## Building RetroArch
The RetroArch repo is fetched into the `libretro-super` folder as `retroarch` by `./libretro-fetch.sh` above. The RetroArch repo is fetched into the `libretro-super` folder as `retroarch` by `./libretro-fetch.sh` above.
You first need to fetch the submodules for it.
```bash ```bash
cd retroarch/pkg/android/phoenix cd retroarch
git submodule update --init
```
Then set up the android projects.
```bash
cd pkg/android/phoenix
android update project --path . android update project --path .
android update project --path libs/googleplay/ android update project --path libs/googleplay/
android update project --path libs/appcompat/ # this doesn't seem to exist anymore android update project --path libs/appcompat/ # this doesn't seem to exist anymore
``` ```
Now edit `local.properties` to point to the location of your ndk directory by adding a line like this: `ndk.dir=/complete/path/to/android-ndk-r9d` Now edit `local.properties` to point to the location of your ndk directory by adding a line like this: `ndk.dir=/complete/path/to/android-ndk-r9d`
Finally, copy the cores, assets and overlays to the right place and build it.
```bash ```bash
mkdir -p assets/cores mkdir -p assets/cores
mkdir assets/overlays mkdir assets/overlays