blob: 407f068180a176e6c72297ddbf90adafafc13727 [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
9aarch64-cc := $(if $(filter-out default,$(origin CC)),$(CC))
Chris Kayc8a47ba2023-10-20 09:17:33 +000010aarch64-cc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay24f3fb42024-04-16 17:19:20 +000011aarch64-cc-id-default := gnu-gcc
12
13aarch64-cpp := $(if $(filter-out default,$(origin CPP)),$(CPP))
Chris Kayc8a47ba2023-10-20 09:17:33 +000014aarch64-cpp-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay24f3fb42024-04-16 17:19:20 +000015aarch64-cpp-id-default := gnu-gcc
16
17aarch64-as := $(if $(filter-out default,$(origin AS)),$(AS))
Chris Kayc8a47ba2023-10-20 09:17:33 +000018aarch64-as-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay24f3fb42024-04-16 17:19:20 +000019aarch64-as-id-default := gnu-gcc
20
21aarch64-ld := $(if $(filter-out default,$(origin LD)),$(LD))
Chris Kay255a4092024-02-21 12:52:46 +000022aarch64-ld-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
Chris Kay24f3fb42024-04-16 17:19:20 +000023aarch64-ld-id-default := gnu-gcc
24
25aarch64-oc := $(if $(filter-out default,$(origin OC)),$(OC))
Chris Kayc8a47ba2023-10-20 09:17:33 +000026aarch64-oc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objcopy
Chris Kay24f3fb42024-04-16 17:19:20 +000027aarch64-oc-id-default := gnu-objcopy
28
29aarch64-od := $(if $(filter-out default,$(origin OD)),$(OD))
Chris Kayc8a47ba2023-10-20 09:17:33 +000030aarch64-od-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objdump
Chris Kay24f3fb42024-04-16 17:19:20 +000031aarch64-od-id-default := gnu-objdump
32
33aarch64-ar := $(if $(filter-out default,$(origin AR)),$(AR))
Chris Kayc8a47ba2023-10-20 09:17:33 +000034aarch64-ar-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc-ar
Chris Kay24f3fb42024-04-16 17:19:20 +000035aarch64-ar-id-default := gnu-ar
36
37aarch64-dtc := $(if $(filter-out default,$(origin DTC)),$(DTC))
Chris Kayc8a47ba2023-10-20 09:17:33 +000038aarch64-dtc-default := dtc
Chris Kay24f3fb42024-04-16 17:19:20 +000039aarch64-dtc-id-default := generic-dtc