build-arm-linux-gnueabihf.sh 277 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. set -x
  3. dir=build-arm-linux-gnueabihf
  4. mkdir -p $dir
  5. cd $dir
  6. cmake \
  7. -DCMAKE_INSTALL_PREFIX=./install \
  8. -DCMAKE_BUILD_TYPE=Release \
  9. -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake \
  10. ..
  11. make VERBOSE=1 -j4
  12. make install/strip