python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / boot / uboot / 2016.07 / 0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch
blobeded9a31285d3c7a312f8b31111eff710582e61c
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
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".
9 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
10 ---
11 arch/arc/config.mk | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
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
21 ifdef CONFIG_CPU_ARC750D
22 -PLATFORM_CPPFLAGS += -marc700
23 +PLATFORM_CPPFLAGS += -mcpu=arc700
24 endif
26 ifdef CONFIG_CPU_ARC770D
27 -PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
28 +PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
29 endif
31 ifdef CONFIG_CPU_ARCEM6
32 -PLATFORM_CPPFLAGS += -marcem
33 +PLATFORM_CPPFLAGS += -mcpu=arcem
34 endif
36 ifdef CONFIG_CPU_ARCHS34
37 --
38 2.7.4