From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Thu, 10 Jan 2008 12:04:18 +0100 Subject: [Buildroot] svn commit: trunk/buildroot/package References: <20080110092906.BFE9B12C57C@busybox.net> <20080110104222.GA31267@cloud.net.au> Message-ID: <006901c8537a$3994aea0$6103170a@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net > On Thu, Jan 10, 2008 at 01:29:06AM -0800, ulf at uclibc.org wrote: >> Log: >> Use host ldconfig, if external toolchain is used >> >> +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) >> +TARGET_LDCONFIG=/sbin/ldconfig >> +else >> TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig >> +endif > > How can that be right? What does it fix? > You may be right, it may need more complex logic. Is testing CodeSourcery tools, which does not provide ldconfig. Running /sbin/ldconfig seems to allow the build to complete. > The cross-ldconfig analyses the cross-libraries to produce a > ld.so.cache suitable for the target. > > uclibc provies a suitable ldconfig and buildroot is already > building me an armeb-uclibc-ldconfig here so everything works fine. > Best Regards Ulf Samuelsson