aarch32.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. aarch32-name := AArch32
  7. aarch32-cc := $(if $(filter-out default,$(origin CC)),$(CC))
  8. aarch32-cc-default := $(or $(CROSS_COMPILE),arm-none-eabi-)gcc
  9. aarch32-cc-id-default := gnu-gcc
  10. aarch32-cpp := $(if $(filter-out default,$(origin CPP)),$(CPP))
  11. aarch32-cpp-default := $(or $(CROSS_COMPILE),arm-none-eabi-)gcc
  12. aarch32-cpp-id-default := gnu-gcc
  13. aarch32-as := $(if $(filter-out default,$(origin AS)),$(AS))
  14. aarch32-as-default := $(or $(CROSS_COMPILE),arm-none-eabi-)gcc
  15. aarch32-as-id-default := gnu-gcc
  16. aarch32-ld := $(if $(filter-out default,$(origin LD)),$(LD))
  17. aarch32-ld-default := $(or $(CROSS_COMPILE),arm-none-eabi-)gcc
  18. aarch32-ld-id-default := gnu-gcc
  19. aarch32-oc := $(if $(filter-out default,$(origin OC)),$(OC))
  20. aarch32-oc-default := $(or $(CROSS_COMPILE),arm-none-eabi-)objcopy
  21. aarch32-oc-id-default := gnu-objcopy
  22. aarch32-od := $(if $(filter-out default,$(origin OD)),$(OD))
  23. aarch32-od-default := $(or $(CROSS_COMPILE),arm-none-eabi-)objdump
  24. aarch32-od-id-default := gnu-objdump
  25. aarch32-ar := $(if $(filter-out default,$(origin AR)),$(AR))
  26. aarch32-ar-default := $(or $(CROSS_COMPILE),arm-none-eabi-)gcc-ar
  27. aarch32-ar-id-default := gnu-ar
  28. aarch32-dtc := $(if $(filter-out default,$(origin DTC)),$(DTC))
  29. aarch32-dtc-default := dtc
  30. aarch32-dtc-id-default := generic-dtc