[U-Boot] [PATCH/next v3] allow boards to customize compiler options on a per-file/dir basis

Wolfgang Denk wd at denx.de
Sun Jun 14 16:45:51 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090614142939.GG22102 at game.jcrosoft.org> you wrote:
>
> > +# Allow boards to use custom optimize flags on a per dir/file basis
> > +BCURDIR := $(notdir $(CURDIR))
> >  $(obj)%.s:	%.S
> > -	$(CPP) $(AFLAGS) -o $@ $<
> > +	$(CPP) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $<
> we can drop this one as there is no obj %.s

But since it's already present it also makes sense to keep it, so we
don;t have to figure out what it needs to be in case we have to add an
assembler file later.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The greatest threat towards future is indifference.


More information about the U-Boot mailing list