]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/Makefile: Assemble with -me500 when building for E500
authorJames Clarke <jrtc27@jrtc27.com>
Thu, 12 Jul 2018 21:41:49 +0000 (22:41 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 18 Jul 2018 10:34:42 +0000 (20:34 +1000)
commit8c12a3db910147a15835a58cb1e0e202f637791d
treee0fa34ce363dc80162ab636b62a9ba345f664fe9
parent9177387366907dcb6de1f45066b369ef19b056f1
powerpc/Makefile: Assemble with -me500 when building for E500

Some of the assembly files use instructions specific to BookE or E500,
which are rejected with the now-default -mcpu=powerpc, so we must pass
-me500 to the assembler just as we pass -me200 for E200.

Fixes: 418f8b77bcd2 ("powerpc/kbuild: Set default generic machine type for 32-bit compile")
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile