add: cmake toolchain for raspberry pi 1

This commit is contained in:
Tobias Reisinger 2019-09-17 13:14:45 +02:00
parent 9b44482f7c
commit 00efbe6d93

5
toolchain-rpi.cmake Normal file
View file

@ -0,0 +1,5 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -marm")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=vfp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv6zk+fp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=arm1176jzf-s")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mtune=arm1176jzf-s")