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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Jun 14 17:08:26 CEST 2009


On 10:56 Sun 14 Jun     , Mike Frysinger wrote:
> On Sunday 14 June 2009 10:29:39 Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 09:33 Sun 14 Jun     , Mike Frysinger wrote:
> > >  $(obj)%.s:	%.S
> > > -	$(CPP) $(AFLAGS) -o $@ $<
> > > +	$(CPP) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $<
> >
> > we can drop this one as there is no obj %.s
> 
> looks to me like there is:
> $ make lib_blackfin/memcmp.s
> bfin-uclinux-gcc -E  -D__ASSEMBLY__ -g  -Os   -ffixed-P5 -fomit-frame-pointer 
> -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf561-0.3 -D__KERNEL__ -
> I/usr/local/src/u-boot/blackfin/include -fno-builtin -ffreestanding -nostdinc 
> -isystem /usr/local/src/blackfin/toolchains/20090608/bfin-
> uclinux/lib/gcc/bfin-uclinux/4.3.3/include -pipe  -DCONFIG_BLACKFIN -o 
> lib_blackfin/memcmp.s lib_blackfin/memcmp.S
sorry for the miss I've done a  find . -name Makefile | xargs grep "\.s"
and miss it

Best Regards,
J.


More information about the U-Boot mailing list