[Buildroot] External toolchain problem with svn revision 24694

hartleys hartleys at visionengravers.com
Mon Jan 5 21:47:53 UTC 2009


I updated my svn checkout today and ran into a problem running the
toplevel make.

I haven't completely figured out where the problem is but I think one of
the changes you made in revision 24408 is causing part of it.

> * In toolchain/external-toolchain/ext-tool.mk, copy the contents of
>   the sysroot directory to the staging dir.

My bash scripting is not quite up to par but I think the
$(copy_toolchain_sysroot) macro is doing the following:

1) calls '$(TARGET_CC) -v'
2) greps the output for the "Configured ...." information
3) greps that information for the "--with-sysroot ..." string
4) cuts the string following --with-sysroot and assigns it to
5) copies the entire $${SYSROOT_DIR} to ${STAGING_DIR}
6) chmod's all the directories to 755

The problem I have is my external toolchain does not have a
--with-sysroot configuration option.  For some reason this seems to
cause the cp to try copying my entire root directory to the staging dir.
Here's the output of my $(TARGET_CC) -v:

bigguiness at etch:~/buildroot$ /usr/local/arm/4.1.1-920t/bin/arm-linux-gcc
Using built-in specs.
Target: arm-linux-uclibc
Configured with:
--prefix=/usr/local/arm/4.1.1-920t --build=i386-pc-linux-gnu
--host=i386-pc-linux-gnu --target=arm-linux-uclibc
--enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace
--enable-shared --disable-nls --enable-threads --disable-multilib
Thread model: posix
gcc version 4.1.1

Any ideas?


More information about the buildroot mailing list