16 lines
450 B
Bash
Executable File
16 lines
450 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source .local_config
|
|
|
|
if [ "$BuildType" = "RPI" ]; then
|
|
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=./.attic/toolchain-arm-none-eabi-rpi.cmake ./
|
|
fi
|
|
|
|
if [ "$BuildType" = "RPI-BPlus" ]; then
|
|
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=./.attic/toolchain-arm-none-eabi-rpibplus.cmake ./
|
|
fi
|
|
|
|
if [ "$BuildType" = "RPI-2" ]; then
|
|
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=./.attic/toolchain-arm-none-eabi-rpi2.cmake ./
|
|
fi
|