Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c

Matt Porter
2004-08-05T21:10:33Z

On Thu, Aug 05, 2004 at 11:14:25AM -0700, Tom Rini wrote:
>
> On Thu, Aug 05, 2004 at 08:00:25PM +0200, Olaf Hering wrote:
> > On Thu, Aug 05, Tom Rini wrote:
> >
> > > On Thu, Aug 05, 2004 at 04:12:57PM +0200, Olaf Hering wrote:
> > > > On Fri, Jul 30, Tom Rini wrote:
> > > >
> > > > >
> > > > > +aflags-$(CONFIG_PPC64BRIDGE) += -mppc64bridge
> > > >
> > > > this should be -Wa,-mppc64bridge for some reasons.
> > >
> > > That, er, doesn't make sense. The assembler needs -Wa,?
> >
> > This makes g5 32bit happy. aflags- is used with 'gcc $options', not for as
> > I'm not sure if the other aflags- should stay.
>
> I mistook AFLAGS for being always invoked with gas, which is not the
> case. Lets do the following:
>
> Signed-off-by: Tom Rini <trini@kernel.crashing.org>

This fixed the build problems (unrecognized -m405) with a PPC440 native
toolchain.

-Matt