setup usage of toolchain file

This commit is contained in:
jakeg00dwin 2024-04-10 11:01:02 -07:00
parent ae963e8c20
commit 61384ab0c7
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Date: 2024 # Date: 2024
# Filename: otto.sh # Filename: otto.sh
CROSS_TC_WIN="$(pwd)/i686-w64-mingw32_toolchain.cmake" TC=avrgcc_tc.cmake
CMAKE_VERBOSE="ON" CMAKE_VERBOSE="ON"
CROSS_COMPILE=1 CROSS_COMPILE=1
TEMPLATE_FILES=".template_files" TEMPLATE_FILES=".template_files"
@ -160,7 +160,7 @@ cross_compile () {
build_release() { build_release() {
clear_cmake_cache clear_cmake_cache
cmake -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../ cmake -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} -DCMAKE_TOOLCHAIN_FILE=../${TC} ../
make make
} }