diff options
author | Josh Blum | 2011-10-24 16:34:25 -0700 |
---|---|---|
committer | Josh Blum | 2011-10-25 10:03:37 -0700 |
commit | dbfb897eaf9415074e75f180d996a6c55c6fa04e (patch) | |
tree | f99675bea0aeb1c75d1f19cf3319bd57b6b17573 /cmake | |
parent | 428c7f36bd1eaa88c3e61a99dd7f2a2c84409f28 (diff) | |
download | gnuradio-dbfb897eaf9415074e75f180d996a6c55c6fa04e.tar.gz gnuradio-dbfb897eaf9415074e75f180d996a6c55c6fa04e.tar.bz2 gnuradio-dbfb897eaf9415074e75f180d996a6c55c6fa04e.zip |
cmake: added toolchain file for arm_cortex_a8_native builds
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Toolchains/arm_cortex_a8_native.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/Toolchains/arm_cortex_a8_native.cmake b/cmake/Toolchains/arm_cortex_a8_native.cmake new file mode 100644 index 000000000..7dbb80049 --- /dev/null +++ b/cmake/Toolchains/arm_cortex_a8_native.cmake @@ -0,0 +1,8 @@ +######################################################################## +# Toolchain file for building native on a ARM Cortex A8 w/ NEON +# Usage: cmake -DCMAKE_TOOLCHAIN_FILE=<this file> <source directory> +######################################################################## +set(CMAKE_CXX_COMPILER g++) +set(CMAKE_C_COMPILER gcc) +set(CMAKE_CXX_FLAGS "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp") +set(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS}) #same flags for C sources |