Manually change source core of a single libretro core and recompile Lakka (Ubuntu)?

Hi, I compiled Lakka on Ubuntu and have some question about it.

I added other core (scummvm, imame4all and so on) into “packages/lakka/RPi2/package.mk” and the image file was created (but I had to remove lutro or it stuck before the img creation).

Now, I would like to manually change the source code of “build.Lakka-RPi2.arm-devel/pcsx_rearmed-81e875a/frontend/libretro.c” file and recompile it again. Before to do that I deleted the compiled “pcsx_rearmed_libretro.so” file inside the folder. But if I run again “DISTRO=Lakka PROJECT=RPi2 ARCH=arm make image” the new “pcsx_rearmed_libretro.so” file is not created anymore inside “pcsx_rearmed-81e875a” folder. How to do that? Thx a lot

Hello lollo78.

Use a command like

DISTRO=Lakka PROJECT=RPi2 ARCH=arm scripts/build pcsx_rearmed -j9

To build the package after modifying the source.

Then to install it on the temporary root

DISTRO=Lakka PROJECT=RPi2 ARCH=arm scripts/install pcsx_rearmed -j9

If you want to make your change survive builds, you have to creae a patch, and place it under packages/libretro/pcsx_rearmed/patches/

Check other packages with patches to get how it work.