On Sunday 14 June 2009 11:10:08 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 16:45 Sun 14 Jun , Wolfgang Denk wrote: > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > In message <20090614142939.gg22...@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. > > the .s is supposed to be gcc temp file
not really. the .s file means "do not run preprocessor before sending to assembler". that is all. > It make sense to avoid it as assembly file suffix is .S for source usually, yes, but no need to force people to conform if they want to write pure assembly with no CPP stuff. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot