android_kernel_xiaomi_sm8350/arch/mips/loongson
Wu Zhangjin 3702bba5eb 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 <apatard@mandriva.com> 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 <r0bertz@gentoo.org>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-09-17 20:07:47 +02:00
..
common MIPS: Loongson: Add a machtype kernel command line argument 2009-09-17 20:07:47 +02:00
fuloong-2e MIPS: Loongson: Add a machtype kernel command line argument 2009-09-17 20:07:47 +02:00
Kconfig MIPS: Loongson: Add GCC 4.4 support for Loongson2E 2009-09-17 20:07:47 +02:00
Makefile