blob: 476fbf3cafd56a2825441b208d65f0f5614191c6 [file] [log] [blame]
Chris Kayc8a47ba2023-10-20 09:17:33 +00001#
2# Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Chris Kay24f3fb42024-04-16 17:19:20 +00007aarch64-name := AArch64
8
Chris Kay87e98c22024-06-03 11:10:11 +00009aarch64-cc-parameter := CC
Chris Kay98255ef2024-08-29 15:08:42 +000010aarch64-cc-default-id := gnu-gcc
Chris Kayc8a47ba2023-10-20 09:17:33 +000011aarch64-cc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay98255ef2024-08-29 15:08:42 +000012aarch64-cc-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
Chris Kay24f3fb42024-04-16 17:19:20 +000013
Chris Kay87e98c22024-06-03 11:10:11 +000014aarch64-cpp-parameter := CPP
Chris Kay98255ef2024-08-29 15:08:42 +000015aarch64-cpp-default-id := gnu-gcc
Chris Kayc8a47ba2023-10-20 09:17:33 +000016aarch64-cpp-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay98255ef2024-08-29 15:08:42 +000017aarch64-cpp-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
Chris Kay24f3fb42024-04-16 17:19:20 +000018
Chris Kay87e98c22024-06-03 11:10:11 +000019aarch64-as-parameter := AS
Chris Kay98255ef2024-08-29 15:08:42 +000020aarch64-as-default-id := gnu-gcc
Chris Kayc8a47ba2023-10-20 09:17:33 +000021aarch64-as-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay98255ef2024-08-29 15:08:42 +000022aarch64-as-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
Chris Kay24f3fb42024-04-16 17:19:20 +000023
Chris Kay87e98c22024-06-03 11:10:11 +000024aarch64-ld-parameter := LD
Chris Kay98255ef2024-08-29 15:08:42 +000025aarch64-ld-default-id := gnu-gcc
Chris Kay255a4092024-02-21 12:52:46 +000026aarch64-ld-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay98255ef2024-08-29 15:08:42 +000027aarch64-ld-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
Chris Kay24f3fb42024-04-16 17:19:20 +000028
Chris Kay87e98c22024-06-03 11:10:11 +000029aarch64-oc-parameter := OC
Chris Kay98255ef2024-08-29 15:08:42 +000030aarch64-oc-default-id := gnu-objcopy
Chris Kayc8a47ba2023-10-20 09:17:33 +000031aarch64-oc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objcopy
Chris Kay98255ef2024-08-29 15:08:42 +000032aarch64-oc-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-objcopy)
Chris Kay24f3fb42024-04-16 17:19:20 +000033
Chris Kay87e98c22024-06-03 11:10:11 +000034aarch64-od-parameter := OD
Chris Kay98255ef2024-08-29 15:08:42 +000035aarch64-od-default-id := gnu-objdump
Chris Kayc8a47ba2023-10-20 09:17:33 +000036aarch64-od-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objdump
Chris Kay98255ef2024-08-29 15:08:42 +000037aarch64-od-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-objdump)
Chris Kay24f3fb42024-04-16 17:19:20 +000038
Chris Kay87e98c22024-06-03 11:10:11 +000039aarch64-ar-parameter := AR
Chris Kay98255ef2024-08-29 15:08:42 +000040aarch64-ar-default-id := gnu-ar
Chris Kayc8a47ba2023-10-20 09:17:33 +000041aarch64-ar-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc-ar
Chris Kay98255ef2024-08-29 15:08:42 +000042aarch64-ar-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc-ar)
Chris Kay24f3fb42024-04-16 17:19:20 +000043
Chris Kay87e98c22024-06-03 11:10:11 +000044aarch64-dtc-parameter := DTC
Chris Kay98255ef2024-08-29 15:08:42 +000045aarch64-dtc-default-id := generic-dtc
Chris Kayc8a47ba2023-10-20 09:17:33 +000046aarch64-dtc-default := dtc