aarch64.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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-parameter := CC
  8. aarch64-cc-default-id := gnu-gcc
  9. aarch64-cc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  10. aarch64-cc-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
  11. aarch64-cpp-parameter := CPP
  12. aarch64-cpp-default-id := gnu-gcc
  13. aarch64-cpp-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  14. aarch64-cpp-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
  15. aarch64-as-parameter := AS
  16. aarch64-as-default-id := gnu-gcc
  17. aarch64-as-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  18. aarch64-as-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
  19. aarch64-ld-parameter := LD
  20. aarch64-ld-default-id := gnu-gcc
  21. aarch64-ld-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc
  22. aarch64-ld-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc)
  23. aarch64-oc-parameter := OC
  24. aarch64-oc-default-id := gnu-objcopy
  25. aarch64-oc-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objcopy
  26. aarch64-oc-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-objcopy)
  27. aarch64-od-parameter := OD
  28. aarch64-od-default-id := gnu-objdump
  29. aarch64-od-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)objdump
  30. aarch64-od-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-objdump)
  31. aarch64-ar-parameter := AR
  32. aarch64-ar-default-id := gnu-ar
  33. aarch64-ar-default := $(or $(CROSS_COMPILE),aarch64-none-elf-)gcc-ar
  34. aarch64-ar-default += $(if $(CROSS_COMPILE),,aarch64-linux-gnu-gcc-ar)
  35. aarch64-dtc-parameter := DTC
  36. aarch64-dtc-default-id := generic-dtc
  37. aarch64-dtc-default := dtc