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)
commitc8db32c8669f7de05b820ee4934926405af52188
treeee0c71892864aa7769476c1ec54f0f7747b5ffda
parentdcbe39fed72fa3768823de7f39c542708f68b9ac
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