summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-30 22:12:09 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-05 23:07:11 +0100
commit5e8cb2ee759780c38e06aa8e83d98bb1f2943cc2 (patch)
tree56c81392b71693b787ffd1ee7b7400f654082636 /arch
parentd690b7444a819a53a756cd3b6047584802d55d92 (diff)
arch/Config.in.arm: specify ABI for ARM64
There's currently only one widely supported ABI for ARM64, called lp64, so we define BR2_GCC_TARGET_ABI to the appropriate value. Note that there is another ABI for ARM64 being worked on, ilp32, but its support is not fully upstream in the kernel, so we're not adding support for it for the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.arm1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index 1a3c36d5c..c98efcd03 100644
--- a/arch/Config.in.arm
+++ b/arch/Config.in.arm
@@ -513,6 +513,7 @@ config BR2_GCC_TARGET_CPU
config BR2_GCC_TARGET_ABI
default "aapcs-linux" if BR2_arm || BR2_armeb
+ default "lp64" if BR2_aarch64 || BR2_aarch64_be
config BR2_GCC_TARGET_FPU
depends on BR2_arm || BR2_armeb