25
edits
Line 20: | Line 20: | ||
Of course, you'll have to install any additonal libs from Raspbian running of the Pi before expecting them to be available, so if you compile scummvm with FLAC support, you should have installed the libflac development libs on the Pi first. | Of course, you'll have to install any additonal libs from Raspbian running of the Pi before expecting them to be available, so if you compile scummvm with FLAC support, you should have installed the libflac development libs on the Pi first. | ||
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: | |||
export $RPI_ROOT /opt/rpi_root | |||
cp -R <SD_mountpoint_directory>/ | cp -R <SD_mountpoint_directory>/usr $RPI_ROOT | ||
cp -R <SD_mountpoint_directory>/opt / | cp -R <SD_mountpoint_directory>/lib $RPI_ROOT | ||
cp -R <SD_mountpoint_directory>/opt $RPI_ROOT | |||
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 | |||
== Configuring ScummVM == | == Configuring ScummVM == |
edits