Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 7 | aarch64-name := AArch64 |
| 8 | |
| 9 | aarch64-cc := $(if $(filter-out default,$(origin CC)),$(CC)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 10 | aarch64-cc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 11 | aarch64-cc-id-default := gnu-gcc |
| 12 | |
| 13 | aarch64-cpp := $(if $(filter-out default,$(origin CPP)),$(CPP)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 14 | aarch64-cpp-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 15 | aarch64-cpp-id-default := gnu-gcc |
| 16 | |
| 17 | aarch64-as := $(if $(filter-out default,$(origin AS)),$(AS)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 18 | aarch64-as-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 19 | aarch64-as-id-default := gnu-gcc |
| 20 | |
| 21 | aarch64-ld := $(if $(filter-out default,$(origin LD)),$(LD)) |
Chris Kay | 255a409 | 2024-02-21 12:52:46 +0000 | [diff] [blame] | 22 | aarch64-ld-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 23 | aarch64-ld-id-default := gnu-gcc |
| 24 | |
| 25 | aarch64-oc := $(if $(filter-out default,$(origin OC)),$(OC)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 26 | aarch64-oc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objcopy |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 27 | aarch64-oc-id-default := gnu-objcopy |
| 28 | |
| 29 | aarch64-od := $(if $(filter-out default,$(origin OD)),$(OD)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 30 | aarch64-od-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objdump |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 31 | aarch64-od-id-default := gnu-objdump |
| 32 | |
| 33 | aarch64-ar := $(if $(filter-out default,$(origin AR)),$(AR)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 34 | aarch64-ar-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc-ar |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 35 | aarch64-ar-id-default := gnu-ar |
| 36 | |
| 37 | aarch64-dtc := $(if $(filter-out default,$(origin DTC)),$(DTC)) |
Chris Kay | c8a47ba | 2023-10-20 09:17:33 +0000 | [diff] [blame] | 38 | aarch64-dtc-default := dtc |
Chris Kay | 24f3fb4 | 2024-04-16 17:19:20 +0000 | [diff] [blame] | 39 | aarch64-dtc-id-default := generic-dtc |