[PATCH v2] powerpc: Update compilation flags with core specific options

Kumar Gala galak at kernel.crashing.org
Sat Jul 27 01:50:23 EST 2013


On Jul 25, 2013, at 6:54 AM, Catalin Udma wrote:

> 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 at freescale.com>
> ---
> changes for v2: 
>    - update also KBUILD_AFLAGS with -mcpu and -msoft-float flags
> 
> arch/powerpc/Makefile |   16 +++++++++++++++-
> 1 files changed, 15 insertions(+), 1 deletions(-)

Is the assembler redundant for older toolchains?

- k


More information about the Linuxppc-dev mailing list