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

2013-07-29 Thread Scott Wood
On 07/25/2013 06:54:14 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 f

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

2013-07-29 Thread Udma Catalin-Dan-B32721
> > 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 > > --- > > changes for v2: > >- update also KBUILD_AFLAGS with -mcpu and -msoft-

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

2013-07-26 Thread Kumar Gala
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. >

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

2013-07-25 Thread Catalin Udma
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/e65