From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjhill at realitydiluted.com Date: Tue, 17 Jun 2008 13:38:41 -0500 Subject: [Buildroot] Problem with buildroot and external toolchain In-Reply-To: References: Message-ID: <20080617183841.GA18089@real.realitydiluted.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net > I think I worked the problem down to the external toolchain libraries > not getting copied to the root filesystem. The copy_toolchain_lib_root > in ext-tool.mk does locate the libraries to copy but I don't get the > messages about the libraries being copied. > > The only thing I can figure is the find in: > > for FILE in `find $${LIB_DIR} -maxdepth 1 -type l -name > "$${LIB}*"`; do { \ > > Is failing for some reason. Can anyone please offer any help on this? > Here is what I have for an external glibc-based toolchain: BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.6" BR2_TOOLCHAIN_EXTERNAL_LIBS="ld.so.1 libcrypt.so libdl.so libgcc_s.so libm.so libnsl.so libnss_dns.so libnss_files.so libpthread.so libresolv.so librt.so libstdc++.so libutil.so" BR2_TOOLCHAIN_EXTERNAL_PATH="/opt/toolchains/gcc-3.4.5-glibc-2.3.6/powerpc-7450-linux-gnu" BR2_TOOLCHAIN_EXTERNAL_PREFIX="powerpc-7450-linux-gnu" The libraries will be copied from: $(BR2_TOOLCHAIN_EXTERNAL_PATH)/$(BR2_TOOLCHAIN_EXTERNAL_PREFIX)/lib Hope that helps. -Steve