From: Wu Zhangjin Date: Thu, 2 Jul 2009 15:27:41 +0000 (+0800) Subject: MIPS: Loongson: Add GCC 4.4 support for Loongson2E X-Git-Tag: v2.6.32-rc1~658^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3702bba5eb4f7a0c89107089af6fd9bc2966b65a;p=pandora-kernel.git MIPS: Loongson: Add GCC 4.4 support for Loongson2E Because only gcc >=4.4 have loongson-specific support, we need to choose the suitable -march argument for gcc <= 4.3 and gcc >= 4.4, and here, we use -march=loongson2e for loongson2e. Thanks goes to Arnaud Patard for suggestion of using cc-options(Documentation/kbuild/makefiles.txt). and thanks Zhang Le for introducing the new CPU_LOONGSON2E kernel option. NOTE: -mtune option is not need if -march and -mtune use the same value. Signed-off-by: Zhang Le Signed-off-by: Wu Zhangjin Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed