DPF with Max Gen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
660B

  1. BASENAME=arm-mod-linux-gnueabihf
  2. export PATH=/opt/mod-toolchain/usr/bin/:$PATH
  3. export AR=$BASENAME-gcc
  4. export CC=$BASENAME-gcc
  5. export CPP=$BASENAME-cpp
  6. export CXX=$BASENAME-g++
  7. export LD=$BASENAME-ld
  8. export STRIP=$BASENAME-strip
  9. unset CPPFLAGS
  10. export CFLAGS="-mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -fomit-frame-pointer -funroll-loops -funsafe-loop-optimizations"
  11. export CXXFLAGS="-mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -fomit-frame-pointer -funroll-loops -funsafe-loop-optimizations"
  12. export LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--strip-all -Wl,--no-undefined"
  13. unset BASENAME