]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: SmartMIPS: Disable assembler warnings
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 16 Jul 2014 13:46:31 +0000 (14:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Sep 2014 12:29:03 +0000 (14:29 +0200)
commit5de6fecde1ec663c77e054e1f295a6ca0c9c4e3a
tree08f542c1e0024f8f32868da670c3e5c458b0d791
parent9b31f96f386856d7c45a0bf36e5a5899bb575ea0
MIPS: SmartMIPS: Disable assembler warnings

The kernel code overrides the default ISA as passed by the compiler
in quite a few places. This has unfortunate side effects when smartmips
is enabled leading to hundreds of warnings during build such as:

{standard input}: Assembler messages:
{standard input}:411: Warning: the `smartmips' extension requires MIPS32
revision 1 or greater
{standard input}: Assembler messages:
{standard input}:43: Warning: the 64-bit MIPS architecture does not support the
`smartmips' extension
[...]

Until the kernel code is fixed properly (if possible), disable all the
assembler warning messages to make the build logs readable again.
This has no runtime side effects but it makes it easier to spot
more critical warnings and problems during build.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7356/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile