Hi again,

just if someone is interested in this, I've put some short How-To
description in the OpenWrt Wiki. It can be found here:
http://wiki.openwrt.org/doc/howto/external_toolchain

Bye,
  Sven

On 04/01/2011 08:28 AM, Sven Bachmann wrote:
> Hi,
> 
> when using an external toolchain with uClibc the Makefile of base-files
> only selects libc* files for copying to the firmware /lib dir but not
> the libuClibc-*.so and the ld-uClibc.so.0-Symlink.
> 
> This prevents the final firmware from booting, because busybox (and
> others) rely on these files and you'll get a broken firmware (without
> noticing, because the kernel only tells you that /etc/preinit can't be
> started).
> 
> To fix this I added the uClibc-files to the libc-install target when
> CONFIG_USE_UCLIBC is set.
> 
> This should fix bug #9157 and is based on patch: "[PATCH] base-files:
> return success on lib-copying with external toolchain".
> 
> Signed-off-by: Sven Bachmann 
> 
> *Snipped Patch*
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to