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)
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>

No differences found