SHARE
TWEET

Untitled

a guest Feb 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This build was put together and is maintained by ModMyClassic.com for Libretro.
  2. # The purpose is to give Libretro a proper "official" build platform for classic consoles.
  3. # If you need any help in building for the classics or have any questions then please visit
  4. # https://modmyclassic.com/comp and we will help in any way possible!
  5.  
  6. # Building Prerequisites ##############
  7. # arm-linux-gnueabihf-gcc-8
  8. # arm-linux-gnueabihf-g++-8
  9. # arm-linux-gnueabihf-as
  10. # arm-linux-gnueabihf-strip
  11.  
  12. include version.all
  13.  
  14. # General Shared Variables ############
  15. TARGET := retroarch
  16.  
  17. all: $(TARGET)
  18.  
  19. retroarch:
  20.     @echo $(LD_LIBRARY_PATH)
  21.     LDFLAGS="-L$(LD_LIBRARY_PATH) -static-libgcc -static-libstdc++" CFLAGS="-marm -mcpu=cortex-a35 -mtune=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard" ./configure --host=arm-linux-gnueabihf --enable-opengles --enable-opengles3 --enable-sdl2 --enable-udev --enable-alsa --enable-neon --enable-floathard --disable-discord --enable-freetype
  22.     make LDFLAGS_SDL=-lSDL2-2.0 HAVE_CLASSIC=1 HAVE_PSCLASSIC=1 HAVE_C_A35=1 -j4 #Cook it
  23.     arm-linux-gnueabihf-strip -v retroarch
  24. clean:
  25.     rm -rf obj-unix
  26.     rm -f *.d
  27.     rm -f *.o
  28.     rm -f audio/*.o
  29.     rm -f conf/*.o
  30.     rm -f gfx/*.o
  31.     rm -f gfx/drivers_font/*.o
  32.     rm -f gfx/drivers_font_renderer/*.o
  33.     rm -f gfx/drivers_context/*.o
  34.     rm -f gfx/py_state/*.o
  35.     rm -f compat/*.o
  36.     rm -f record/*.o
  37.     rm -f input/*.o
  38.     rm -f tools/*.o
  39.     rm -f $(BINDIR)/retroarch
  40.     rm -f $(BINDIR)/retroarch-joyconfig
  41.     rm -f $(PNDDIR)/readme.html
  42.     rm -f retroarch
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top