mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
750bc7bf8b
IS_JOYCONFIG was removed back in 2015 (1b7576aa
), but there are still
some mentions of retroarch-joyconfig in the docs and Makefiles. Clean
these up so folk aren't confused about the fact it's no longer
available.
53 lines
2.1 KiB
Makefile
53 lines
2.1 KiB
Makefile
# This build was put together and is maintained by ModMyClassic.com for Libretro.
|
|
# The purpose is to give Libretro a proper "official" build platform for classic consoles.
|
|
# If you need any help in building for the classics or have any questions then please visit
|
|
# https://modmyclassic.com and we will help in any way possible!
|
|
|
|
# INFO: THIS BUILD TARGET ALSO COVERS THE NESC!!!
|
|
|
|
# Building Prerequisites ##############
|
|
# arm-linux-gnueabihf-strip
|
|
# patchelf
|
|
|
|
include version.all
|
|
|
|
# General Shared Variables ############
|
|
TARGET := retroarch
|
|
|
|
# Libretro Defines ####################
|
|
#HAVE_CLASSIC = Classic Hook, disable some features
|
|
#HAVE_C_A7A7 = Classic Armv7 Cortex A7 optimisation override
|
|
#HAVE_HAKCHI = Hakchi Hook, change default configurations etc (TODO)
|
|
|
|
all: $(TARGET)
|
|
|
|
retroarch:
|
|
#Build the RetroArch Binary for cross platform classics (ARMv7 Cortex A7)
|
|
patchelf --version #Check if you have patchelf installed... (sudo apt-get install patchelf)
|
|
CFLAGS="-marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" ./configure --host=arm-linux-gnueabihf --disable-wayland --disable-x11 --disable-opengl --disable-opengl1 --disable-opengl_core --enable-mali_fbdev --disable-freetype --enable-opengles --enable-udev --enable-alsa --enable-neon --enable-floathard --disable-discord
|
|
make HAVE_CLASSIC=1 HAVE_C_A7A7=1 HAVE_HAKCHI=1 -j #Cook it
|
|
arm-linux-gnueabihf-strip -v retroarch
|
|
patchelf --replace-needed libSDL2-2.0.so.0 libSDL2.so retroarch #libSDL2-2.0.so.0 sym link doesn't exist on native build. Just patch the binary...
|
|
@echo "*********************************************************************"
|
|
@echo "*** NES/SNES Classic RetroArch binary built successfully! ***"
|
|
@echo "*********************************************************************"
|
|
clean:
|
|
rm -rf obj-unix
|
|
rm -f *.d
|
|
rm -f *.o
|
|
rm -f audio/*.o
|
|
rm -f conf/*.o
|
|
rm -f gfx/*.o
|
|
rm -f gfx/drivers_font/*.o
|
|
rm -f gfx/drivers_font_renderer/*.o
|
|
rm -f gfx/drivers_context/*.o
|
|
rm -f gfx/py_state/*.o
|
|
rm -f compat/*.o
|
|
rm -f record/*.o
|
|
rm -f input/*.o
|
|
rm -f tools/*.o
|
|
rm -f $(BINDIR)/retroarch
|
|
rm -f $(PNDDIR)/readme.html
|
|
rm -f retroarch
|
|
|