Skip to content

Instantly share code, notes, and snippets.

@neagix
Created July 9, 2013 19:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neagix/5960608 to your computer and use it in GitHub Desktop.
Save neagix/5960608 to your computer and use it in GitHub Desktop.
complete build script for RetroArch on ARM Linux ODROID devices
#!/bin/bash
## build script for RetroArch on ARM Linux (ODROID)
## @author neagix
#
export CFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
export CXXFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
export ASFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
CONFIGOPTS="--enable-alsa --disable-oss --disable-jack --disable-pulse --enable-xvideo --enable-fbo --enable-x11 "
CONFIGOPTS="$CONFIGOPTS --enable-opengl --enable-gles --disable-kms --disable-vg --enable-dylib --disable-ffmpeg"
source ~/bin/armenv
./configure $CONFIGOPTS && \
make -j5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment