Open main menu

Difference between revisions of "Compiling ScummVM/RPI"

Line 22: Line 22:
First we export the path where we will copy these into, and then we will manually copy them. I choose /opt/rpi_root, but any other path with the right permissions for your user and common sense is going to be ok:
First we export the path where we will copy these into, and then we will manually copy them. I choose /opt/rpi_root, but any other path with the right permissions for your user and common sense is going to be ok:


RPI_ROOT=/opt/rpi_root
mkdir -p /opt/rpi_root
 
export RPI_ROOT=/opt/rpi_root


cp -R <SD_mountpoint_directory>/usr $RPI_ROOT
cp -R <SD_mountpoint_directory>/usr $RPI_ROOT
Line 32: Line 34:
Now we need to setup the cross-building sdl-config so it's used instead on the host system's sdl-config script. Edit $RPI_ROOT/usr/bin/sdl-config and change the prefix line to:
Now we need to setup the cross-building sdl-config so it's used instead on the host system's sdl-config script. Edit $RPI_ROOT/usr/bin/sdl-config and change the prefix line to:


prefix=/opt/rpi-root/usr
prefix=$RPI_ROOT/usr


== Configuring ScummVM ==
== Configuring ScummVM ==
25

edits