Difference between revisions of "Compiling ScummVM/RPI"

Jump to navigation Jump to search
Line 53: Line 53:
cp -R usr lib opt $RPI_ROOT</nowiki>
cp -R usr lib opt $RPI_ROOT</nowiki>


The above copying of files has the unfortunate side-effect that many symbolic links that were copied over are now invalid, particularly those linking to absolute paths. Fortunately, we can remedy this situation by downloading and running a python script that will fix those links
The above copying of files has the unfortunate side-effect that many symbolic links that were copied over are now invalid, particularly those linking to absolute paths. Fortunately, we can remedy this situation by downloading and running a python script that will fix those links:


  <nowiki>wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
  <nowiki>wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
Line 59: Line 59:
./sysroot-relativelinks.py $RPI_ROOT</nowiki>
./sysroot-relativelinks.py $RPI_ROOT</nowiki>


Finally, update the ''PATH'' variable to be preceded by the ''RPI_ROOT'' path, since this is required for proper detection of ''libcurl'' related files.  
Finally, update the ''PATH'' variable to be preceded by the ''RPI_ROOT'' path, since this is required for proper detection of ''libcurl'' related files by ScummVM's ''configure'' script.
  <nowiki>export PATH=$RPI_ROOT:$PATH</nowiki>
  <nowiki>export PATH=$RPI_ROOT:$PATH</nowiki>


1,316

edits

Navigation menu