[Buildroot] svn commit: trunk/buildroot/package

Ulf Samuelsson ulf at atmel.com
Thu Jan 10 11:04:18 UTC 2008


> 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





More information about the buildroot mailing list