Add support for building different RPIs
This commit is contained in:
1 parent
4dcc8f52a9
commit
023620616b
3 files changed
+16
-2
No files matched your search
File renamed without changes.
@@ -8,3 +8,5 @@
|
||||
export DeployDirectory='/Volumes/boot/'
|
||||
|
||||
export DeployDevice='/Volumes/boot'
|
||||
|
||||
export BuildType='RPI'
|
||||
@@ -1,3 +1,15 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=./src/toolchain-arm-none-eabi-rpi.cmake ./
|
||||
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
|
||||
Reference in new issue
Block a user