MIPS: Loongson-3: Fix build error after ld-version.sh modification
authorHuacai Chen <[email protected]>
Thu, 17 Mar 2016 12:41:06 +0000 (20:41 +0800)
committerRalf Baechle <[email protected]>
Mon, 9 May 2016 10:00:03 +0000 (12:00 +0200)
Commit d5ece1cb074b2c ("Fix ld-version.sh to handle large 3rd version
part") modifies the ld version description. This causes a build error
on Loongson-3, so fix it.

Signed-off-by: Huacai Chen <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: Steven J . Hill <[email protected]>
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12890/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/loongson64/Platform

index 85d808924c94b52b25f24654def7529b76039266..0fce4608aa88665febfcad2964690beff5000a0d 100644 (file)
@@ -31,7 +31,7 @@ cflags-$(CONFIG_CPU_LOONGSON3)        += -Wa,--trap
 # can't easily be used safely within the kbuild framework.
 #
 ifeq ($(call cc-ifversion, -ge, 0409, y), y)
-  ifeq ($(call ld-ifversion, -ge, 22500000, y), y)
+  ifeq ($(call ld-ifversion, -ge, 225000000, y), y)
     cflags-$(CONFIG_CPU_LOONGSON3)  += \
       $(call cc-option,-march=loongson3a -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64)
   else