]>
Commit | Line | Data |
---|---|---|
0f1e1820 GKH |
1 | From 820880cdba0137baff6cc0e828c3c418c363ae44 Mon Sep 17 00:00:00 2001 |
2 | From: Huacai Chen <chenhc@lemote.com> | |
3 | Date: Thu, 17 Mar 2016 20:41:06 +0800 | |
4 | Subject: MIPS: Loongson-3: Fix build error after ld-version.sh modification | |
5 | ||
6 | From: Huacai Chen <chenhc@lemote.com> | |
7 | ||
8 | commit 820880cdba0137baff6cc0e828c3c418c363ae44 upstream. | |
9 | ||
10 | Commit d5ece1cb074b2c ("Fix ld-version.sh to handle large 3rd version | |
11 | part") modifies the ld version description. This causes a build error | |
12 | on Loongson-3, so fix it. | |
13 | ||
14 | Signed-off-by: Huacai Chen <chenhc@lemote.com> | |
15 | Cc: Aurelien Jarno <aurelien@aurel32.net> | |
16 | Cc: Steven J . Hill <sjhill@realitydiluted.com> | |
17 | Cc: Fuxin Zhang <zhangfx@lemote.com> | |
18 | Cc: Zhangjin Wu <wuzhangjin@gmail.com> | |
19 | Cc: Huacai Chen <chenhc@lemote.com> | |
20 | Cc: linux-mips@linux-mips.org | |
21 | Patchwork: https://patchwork.linux-mips.org/patch/12890/ | |
22 | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | |
23 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
24 | ||
25 | --- | |
26 | arch/mips/loongson64/Platform | 2 +- | |
27 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
28 | ||
29 | --- a/arch/mips/loongson64/Platform | |
30 | +++ b/arch/mips/loongson64/Platform | |
31 | @@ -31,7 +31,7 @@ cflags-$(CONFIG_CPU_LOONGSON3) += -Wa,-- | |
32 | # can't easily be used safely within the kbuild framework. | |
33 | # | |
34 | ifeq ($(call cc-ifversion, -ge, 0409, y), y) | |
35 | - ifeq ($(call ld-ifversion, -ge, 22500000, y), y) | |
36 | + ifeq ($(call ld-ifversion, -ge, 225000000, y), y) | |
37 | cflags-$(CONFIG_CPU_LOONGSON3) += \ | |
38 | $(call cc-option,-march=loongson3a -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) | |
39 | else |