Skip to content

Commit

Permalink
TargetArch.cmake: Add support to aarch64 based platforms
Browse files Browse the repository at this point in the history
This patch adds support to aarch64 arm 64 bit platforms.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
  • Loading branch information
Srinivas-Kandagatla authored and arfoll committed Dec 14, 2015
1 parent 38aa9e8 commit 47ec54c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/modules/TargetArch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# "There are many more known variants/revisions that we do not handle/detect."

set(archdetect_c_code "
#if defined(__arm__) || defined(__TARGET_ARCH_ARM)
#if defined(__aarch64__)
#error cmake_ARCH armv8
#elif defined(__arm__) || defined(__TARGET_ARCH_ARM)
#if defined(__ARM_ARCH_7__) \\
|| defined(__ARM_ARCH_7A__) \\
|| defined(__ARM_ARCH_7R__) \\
Expand Down

0 comments on commit 47ec54c

Please sign in to comment.