• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/boot/uboot/2016.09.01/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch
Alexey BrodkinAlexey Brodkin committed 6a4e0314a4c23 Sep 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
​
6
With newer ARC tools old way of CPU specification gets obsolete,
7
so we're switching to newer and more common way of setting "-mcpu".
8
​
9
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
10
---
11
 arch/arc/config.mk | 6 +++---
12
 1 file changed, 3 insertions(+), 3 deletions(-)
13
​
14
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
15
index 7c974f0..13676bd 100644
16
--- a/arch/arc/config.mk
17
+++ b/arch/arc/config.mk
18
@@ -31,15 +31,15 @@ CONFIG_MMU = 1
19
 endif
20
 
21
 ifdef CONFIG_CPU_ARC750D
22
-PLATFORM_CPPFLAGS += -marc700
23
+PLATFORM_CPPFLAGS += -mcpu=arc700
24
 endif
25
 
26
 ifdef CONFIG_CPU_ARC770D
27
-PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
28
+PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
29
 endif
30
 
31
 ifdef CONFIG_CPU_ARCEM6
32
-PLATFORM_CPPFLAGS += -marcem
33
+PLATFORM_CPPFLAGS += -mcpu=arcem
34
 endif
35
 
36
 ifdef CONFIG_CPU_ARCHS34
37
-- 
38
2.7.4
39
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.