0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 7c8d81605302e7d7fdd3e7d8eb69302bddc64a2c Mon Sep 17 00:00:00 2001
  2. From: Alexey Brodkin <abrodkin@synopsys.com>
  3. Date: Fri, 16 Sep 2016 12:12:26 +0300
  4. Subject: [PATCH] arc: Use -mcpu=XXX instead of obsolete -marcXXX
  5. With newer ARC tools old way of CPU specification gets obsolete,
  6. so we're switching to newer and more common way of setting "-mcpu".
  7. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  8. ---
  9. arch/arc/config.mk | 6 +++---
  10. 1 file changed, 3 insertions(+), 3 deletions(-)
  11. diff --git a/arch/arc/config.mk b/arch/arc/config.mk
  12. index 7c974f0..13676bd 100644
  13. --- a/arch/arc/config.mk
  14. +++ b/arch/arc/config.mk
  15. @@ -31,15 +31,15 @@ CONFIG_MMU = 1
  16. endif
  17. ifdef CONFIG_CPU_ARC750D
  18. -PLATFORM_CPPFLAGS += -marc700
  19. +PLATFORM_CPPFLAGS += -mcpu=arc700
  20. endif
  21. ifdef CONFIG_CPU_ARC770D
  22. -PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
  23. +PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
  24. endif
  25. ifdef CONFIG_CPU_ARCEM6
  26. -PLATFORM_CPPFLAGS += -marcem
  27. +PLATFORM_CPPFLAGS += -mcpu=arcem
  28. endif
  29. ifdef CONFIG_CPU_ARCHS34
  30. --
  31. 2.7.4