0001-arm-armv7-a-march-abi-flag-for-ARMv7-hardware.patch 934 B

12345678910111213141516171819202122232425262728293031
  1. From 80e3428c2e50b5a6838d71a89007f610eda5e2dc Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Mon, 3 Aug 2015 14:39:42 +0200
  4. Subject: [PATCH 1/8] arm: armv7-a march abi flag for ARMv7 hardware
  5. Specifying the march is required to get depthcharge to build with e.g. the arm
  6. toolchain built by coreboot's crossgcc script. Without this flag, the toolchain
  7. will complain that some ARM mrc/mcr ASM instructions are not defined.
  8. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  9. ---
  10. src/arch/arm/build_vars | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/src/arch/arm/build_vars b/src/arch/arm/build_vars
  13. index b2fce32..455e370 100644
  14. --- a/src/arch/arm/build_vars
  15. +++ b/src/arch/arm/build_vars
  16. @@ -17,7 +17,7 @@
  17. VB_FIRMWARE_ARCH=arm
  18. ifeq ($(CONFIG_ARCH_ARM_V7),y)
  19. -ARCH_ABI_FLAGS += -mthumb
  20. +ARCH_ABI_FLAGS += -mthumb -march=armv7-a
  21. endif
  22. ifeq ($(CONFIG_ARCH_ARM_V8),y)
  23. --
  24. 2.8.0