cmake: Convience argument for arm hardware floating point toolchain

This commit is contained in:
Adrian Danis 2018-03-22 14:04:29 +11:00
parent c42f338133
commit caf86a4b65

View file

@ -26,6 +26,8 @@ if("${CROSS_COMPILER_PREFIX}" STREQUAL "")
if(ARM)
message("ARM flag is deprecated, please use AARCH32")
endif()
elseif(AARCH32HF)
set(CROSS_COMPILER_PREFIX "arm-linux-gnueabihf-" CACHE INTERNAL "")
elseif(AARCH64)
set(CROSS_COMPILER_PREFIX "aarch64-linux-gnu-" CACHE INTERNAL "")
endif()