From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 14 Jun 2009 17:10:08 +0200 Subject: [U-Boot] [PATCH/next v3] allow boards to customize compiler options on a per-file/dir basis In-Reply-To: <20090614144551.43271832E416@gemini.denx.de> References: <1242630364-2510-1-git-send-email-vapier@gentoo.org> <1244986380-24157-1-git-send-email-vapier@gentoo.org> <20090614142939.GG22102@game.jcrosoft.org> <20090614144551.43271832E416@gemini.denx.de> Message-ID: <20090614151008.GK22102@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16:45 Sun 14 Jun , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090614142939.GG22102@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 so It make sense to avoid it as assembly file suffix is .S for source Best Regards, J.