Skip to content

Commit

Permalink
try to target armv6
Browse files Browse the repository at this point in the history
  • Loading branch information
avilleret committed Nov 19, 2021
1 parent 4c09db9 commit 59a4c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross_compile_rpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
SOURCE_FOLDER=${SCRIPT_DIR}
BUILD_FOLDER=${SOURCE_FOLDER}/build

cmake -S ${SOURCE_FOLDER} -B ${BUILD_FOLDER} -G Ninja -DCMAKE_TOOLCHAIN_FILE="${SOURCE_FOLDER}/arm-linux-gnueabihf.cmake"
cmake -S ${SOURCE_FOLDER} -B ${BUILD_FOLDER} -G Ninja -DCMAKE_TOOLCHAIN_FILE="${SOURCE_FOLDER}/arm-linux-gnueabihf.cmake" -DCMAKE_C_FLAGS="-marm"
cmake --build ${BUILD_FOLDER}
cmake --build ${BUILD_FOLDER} --target install

0 comments on commit 59a4c76

Please sign in to comment.