aarch64.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. aarch64-name := AArch64
  7. aarch64-cc := $(if $(filter-out default,$(origin CC)),$(CC))
  8. aarch64-cc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  9. aarch64-cc-id-default := gnu-gcc
  10. aarch64-cpp := $(if $(filter-out default,$(origin CPP)),$(CPP))
  11. aarch64-cpp-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  12. aarch64-cpp-id-default := gnu-gcc
  13. aarch64-as := $(if $(filter-out default,$(origin AS)),$(AS))
  14. aarch64-as-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  15. aarch64-as-id-default := gnu-gcc
  16. aarch64-ld := $(if $(filter-out default,$(origin LD)),$(LD))
  17. aarch64-ld-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  18. aarch64-ld-id-default := gnu-gcc
  19. aarch64-oc := $(if $(filter-out default,$(origin OC)),$(OC))
  20. aarch64-oc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objcopy
  21. aarch64-oc-id-default := gnu-objcopy
  22. aarch64-od := $(if $(filter-out default,$(origin OD)),$(OD))
  23. aarch64-od-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objdump
  24. aarch64-od-id-default := gnu-objdump
  25. aarch64-ar := $(if $(filter-out default,$(origin AR)),$(AR))
  26. aarch64-ar-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc-ar
  27. aarch64-ar-id-default := gnu-ar
  28. aarch64-dtc := $(if $(filter-out default,$(origin DTC)),$(DTC))
  29. aarch64-dtc-default := dtc
  30. aarch64-dtc-id-default := generic-dtc