aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/depends/toolchain.cmake.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index 5ab93b1c3..d2fdd4270 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -62,12 +62,19 @@ else()
endif()
if(ARCH STREQUAL "arm")
- set(ARCH "armv6zk")
- set(ARMID "armv6zk")
+ set(ARCH "armv7-a")
+ set(ARM ON)
+ set(ARM_ID "armv7-a")
set(BUILD_64 OFF)
set(CMAKE_BUILD_TYPE release)
- set(BUILD_TAG "linux-armv6")
- set(ARM6)
+ set(BUILD_TAG "linux-armv7")
+ set(ARM7)
+elif(ARCH STREQUAL "aarch64")
+ set(ARCH "armv8-a")
+ set(ARM ON)
+ set(ARM_ID "armv8-a")
+ set(BUILD_TAG "linux-armv8")
+ set(BUILD_64 ON)
endif()
#Create a new global cmake flag that indicates building with depends