[uClibc] Re: [uClibc-cvs] svn commit: trunk/buildroot/target/ext2

Erik Andersen andersen at codepoet.org
Mon Aug 8 05:05:54 UTC 2005


On Sun Aug 07, 2005 at 06:14:35PM -0400, Mike Frysinger wrote:
> On Sunday 07 August 2005 06:32 am, Erik Andersen wrote:
> > On Sun Aug 07, 2005 at 02:30:24AM -0600, vapier at uclibc.org wrote:
> > > Author: vapier
> > > Date: 2005-08-07 02:30:24 -0600 (Sun, 07 Aug 2005)
> > > New Revision: 11051
> > >
> > > Log:
> > > make sure ext2 target depends on fakeroot
> >
> > [---------snip----------]
> >
> > > -	/sbin/ldconfig -r $(TARGET_DIR)
> > > +	test -e "$(TARGET_DIR)/etc/ld.so.conf" \
> > > +		&& /sbin/ldconfig -r $(TARGET_DIR) \
> > > +		|| true
> >
> > Ugh.  Much better to have make ignore any failure...
> 
> ive never actually used the feature so the idea was to make sure that if the 
> conf file existed and ldconfig failed, make would still abort ... also, even 
> if we do "-ldconfig", ldconfig would spit out an error which i wanted to 
> avoid too ...
> -mike

So perhaps:
    -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list