]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/e500: Update compilation flags with core specific options
authorCatalin Udma <catalin.udma@freescale.com>
Tue, 30 Jul 2013 11:39:24 +0000 (14:39 +0300)
committerScott Wood <scottwood@freescale.com>
Wed, 7 Aug 2013 23:49:44 +0000 (18:49 -0500)
commit6a15ec95e0f692f96f69eb31162be0a2c4b4b4a4
treeee0c71892864aa7769476c1ec54f0f7747b5ffda
parent9b5e5126ef9dc61a27b86186aa0942d63f3daea5
powerpc/e500: Update compilation flags with core specific options

If CONFIG_E500 is enabled, the compilation flags are updated
specifying the target core -mcpu=e5500/e500mc/8540
Also remove -Wa,-me500, being incompatible with -mcpu=e5500/e6500
The assembler option is redundant if the -mcpu= flag is set.
The patch fixes the kernel compilation problem for e5500/e6500
when using gcc option -mcpu=e5500/e6500.

Signed-off-by: Catalin Udma <catalin.udma@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/Makefile