svn commit: trunk/uClibc/ldso/ldso

Mike Frysinger vapier at gentoo.org
Tue Sep 27 17:35:23 UTC 2005


On Tuesday 27 September 2005 12:34 pm, Peter S. Mazinger wrote:
> On Tue, 27 Sep 2005, Mike Frysinger wrote:
> > On Tuesday 27 September 2005 03:37 am, psm at uclibc.org wrote:
> > > Log:
> > > Remove created objects independently of TARGET_ARCH and kill 3 warnings
> > >
> > > --- trunk/uClibc/ldso/ldso/Makefile	2005-09-27 04:21:48 UTC (rev 11662)
> > > +++ trunk/uClibc/ldso/ldso/Makefile	2005-09-27 07:37:48 UTC (rev 11663)
> > > @@ -52,7 +52,7 @@
> > >
> > >  CSRC= ldso.c
> > >  COBJS=$(patsubst %.c,%.o, $(CSRC))
> > > -ASRC=$(shell ls $(TARGET_ARCH)/*.S)
> > > +ASRC=$(shell ls $(TARGET_ARCH)/*.S 2>/dev/null)
> > >  AOBJS=$(patsubst %.S,%.o, $(ASRC))
> > >  OBJS=$(AOBJS) $(COBJS)
> >
> > these warnings should only come up when building for an arch with
> > incomplete support (aka x86_64) ... so no real point in disabling them ?
>
> The warning comes also if you run make [dist]clean without having a
> .config file (TARGET_ARCH is undefined), and more than that if I have a
> file /*.S on my box /*.o would have been removed.

fair enough

we should prob change it anyways to use the make wildcard builtin instead of 
shell ls ?
-mike



More information about the uClibc mailing list