]> 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)
commitfc4d30cccc12072ba9df7b1ef7b260ba2f02fc8e
treeee0c71892864aa7769476c1ec54f0f7747b5ffda
parente72ee0e5c07efdb4520ea8f2095e59be41384931
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